/* === RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.6;
    font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* === HEADER === */
.header {
    background: #1e293b;
    color: #ffffff;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}
.logo::before {
    content: "";
    width: 36px;
    height: 36px;
    background-image: url('images/logo-site.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-menu a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.3);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin: 0 auto 2rem auto;
    white-space: nowrap;
    text-align: center;
}
.cta-button {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.cta-button:hover {
    /* background: #b91c1c; */
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* === QUICK INFO REDESIGNED === */
.quick-info {
    background: #f8fafc;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.dolar-bar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 1rem 0;
    text-align: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
}
.dolar-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap;
}
.dolar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dolar-item .icon {
    color: #dc2626;
    font-size: 1.1rem;
}
.dolar-info .label {
    color: #64748b;
    font-weight: 400;
}
.dolar-info .value {
    color: #1e293b;
    font-weight: 600;
}

/* === CLIMA GRID CORRIGIDA === */
.clima-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.clima-card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.clima-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.clima-card i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.clima-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
    line-height: 1.2;
}
.clima-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0;
}

/* === ESTRUTURA DOS ITENS DE PREVISÃO === */
.weather-forecast-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    min-height: 24px;
}
.weather-forecast-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.weather-forecast-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}
.weather-icon-small {
    width: 18px;
    height: 18px;
    line-height: 1;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.weather-day {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1;
    min-width: 35px;
    text-align: left;
}
.weather-temp {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    line-height: 1;
    text-align: right;
}

/* === MAIN CONTENT === */
.main-content {
    padding: 3rem 0;
}
.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}
.section-intro h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}
.section-intro p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* === CONTENT SECTIONS === */
.category-section {
    margin: 3rem 0;
}
.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.content-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.content-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 1.25rem;
}
.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.card-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === FOOTER === */
.footer {
    background: #1e293b;
    color: #ffffff;
    padding: 0.75rem 0 0.75rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}
.footer-section p,
.footer-section li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}
.footer-section a:hover {
    color: #fca5a5;
}
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: #dc2626;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* === AD SPACES === */
.ad-space {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e293b;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero {
        padding: 2rem 0;
    }
    .dolar-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    .clima-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }
    .clima-card {
        padding: 0.875rem;
        min-height: 160px;
    }
    .weather-forecast-item {
        font-size: 0.8rem;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .main-content {
        padding: 2rem 0;
    }
    .clima-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .clima-card {
        padding: 0.75rem;
        min-height: 140px;
    }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}
.lazy.loaded {
    opacity: 1;
}

/* === ESTILOS PARA PÁGINAS INTERNAS === */

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}
.breadcrumbs a {
    color: #3b82f6;
    transition: color 0.3s ease;
}
.breadcrumbs a:hover {
    color: #1d4ed8;
}

/* Page Cover Image */
.page-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Page Content */
.page-content {
    max-width: 100%;
    line-height: 1.7;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
    font-weight: 600;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-content h2 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Tables */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-content table th,
.page-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.page-content table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.page-content table td {
    color: #374151;
    vertical-align: top;
}

.page-content table tr:hover {
    background: #f8fafc;
}

/* FAQ Styles */
.faq-item {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h4 {
    margin: 0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-answer {
    display: none;
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 3px solid #3b82f6;
    color: #374151;
}

/* Cards dentro do conteúdo */
.page-content .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.page-content .info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-content .info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-content .info-card h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Error Content */
.error-content {
    text-align: center;
    padding: 3rem 0;
}

.error-content h2 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

/* Page Navigation */
.page-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-link {
    color: #3b82f6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1d4ed8;
}

/* Responsive para páginas internas */
@media (max-width: 768px) {
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.75rem;
    }
    
    .page-cover {
        height: 200px;
        margin: 1rem 0;
    }
    
    .breadcrumbs {
        font-size: 0.85rem;
    }
    
    .page-content table {
        font-size: 0.9rem;
    }
    
    .page-content table th,
    .page-content table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {nao 
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content .card-grid {
        grid-template-columns: 1fr;
    }
}



/*Added from GPT 



/* === IMAGE ALIGNMENT UTILITIES === */
.img-media {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Centraliza imagem ou bloco */
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Alinha à esquerda (default, mas útil se precisar forçar) */
.left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

/* Alinha à direita */
.right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.img-media {
  width: var(--img-w, auto);   /* usa --img-w se existir, senão auto */
  height: var(--img-h, auto);  /* idem para altura */
  max-width: 100%;
  display: block;
}


/* === CSS ADICIONAL PARA CORRIGIR VALIDAÇÃO HTML === */
/* Adicione este código ao final do seu arquivo style.css */

/* Tile map styles para páginas com mapas interativos */
.tile {
    background: #e5e7eb;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.tile:hover {
    background: #dbeafe;
    transform: translateY(-2px);
}

.tile.active {
    outline: 2px solid #3b82f6;
    background: #c7d2fe;
}

.tile small {
    display: block;
    font-size: 0.72rem;
    color: #334155;
}

/* Badge styles para deadlines */
.badge-deadline {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    margin-left: 6px;
    vertical-align: middle;
}

.dead-10 { background: #ef4444; }
.dead-30 { background: #f59e0b; }
.dead-60 { background: #10b981; }
.dead-90 { background: #0ea5e9; }
.dead-na { background: #64748b; }

/* Tab styles para sistemas de abas */
.tab-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}

.tab-btn.orange {
    background: #f97316;
    border-color: #ea580c;
    color: #fff;
}

.tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-btn.orange:hover {
    background: #ea580c;
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2rem 0;
    justify-content: center;
}

/* Tab panels */
.tab-panel {
    display: none;
}

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

/* Responsive para componentes específicos */
@media (max-width: 768px) {
    .tilemap {
        grid-template-columns: repeat(8,1fr) !important;
    }
    
    .tile {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Estilos gerais para corrigir validação */
.section-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

/* === CLIMA INTERATIVO - TERMÔMETROS === */
:root{
    --bg:#ffffff; --fg:#0f172a; --muted:#64748b; --card:#f8fafc;
    --brand:#3b82f6; --ok:#16a34a; --warn:#ea580c; --cold:#0ea5e9; --hot:#ef4444;
    --radius:18px; --line:#e2e8f0;
}

.clima-usa-wrapper {
    margin-top: 30px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.clima-usa-wrapper h1{font-size:clamp(22px,2.6vw,32px);margin:0 0 8px}
.clima-usa-wrapper h2{font-size:clamp(18px,2.1vw,26px);margin:0 0 6px}
.clima-usa-wrapper .sub{color:var(--muted);margin:0 0 20px}
.clima-usa-wrapper .grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:960px){ .clima-usa-wrapper .grid{grid-template-columns: 380px 1fr} }

.clima-usa-wrapper .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.clima-usa-wrapper .row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.clima-usa-wrapper select,.clima-usa-wrapper button,.clima-usa-wrapper input[type="number"]{
    border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--fg);font-size:15px
}
.clima-usa-wrapper button.toggle{background:var(--brand);color:#fff;border:none;cursor:pointer}
.clima-usa-wrapper .badge{font-size:12px;background:#eef2ff;color:#3730a3;border-radius:999px;padding:6px 10px}
.clima-usa-wrapper .temp{font-size:56px;font-weight:700;letter-spacing:-0.02em}
.clima-usa-wrapper .muted{color:var(--muted)}
.clima-usa-wrapper .bigrow{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.clima-usa-wrapper .kv{display:grid;grid-template-columns:auto auto;gap:6px 14px;font-size:14px}
.clima-usa-wrapper .kv span.key{color:var(--muted)}
.clima-usa-wrapper .emoji{font-size:28px}
.clima-usa-wrapper .pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#f1f5f9;margin:2px 6px 2px 0;font-size:12px}
.clima-usa-wrapper .foot{font-size:12px;color:var(--muted);margin-top:10px}

/* Termômetro base */
.clima-usa-wrapper .thermoBox{width:120px;height:260px;display:flex;align-items:center;justify-content:center}
.clima-usa-wrapper svg.thermo{overflow:visible}
.clima-usa-wrapper .tube{fill:#e5e7eb;stroke:#cbd5e1;stroke-width:2}
.clima-usa-wrapper .mercury{fill:url(#gtemp)}
.clima-usa-wrapper .bulb{fill:url(#gtemp);stroke:#efefef;stroke-width:1}
.clima-usa-wrapper .tick text{font-size:10px;fill:#64748b}
.clima-usa-wrapper .marker{stroke-dasharray:3 3}

.clima-usa-wrapper details{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}
.clima-usa-wrapper details+details{margin-top:10px}
.clima-usa-wrapper summary{cursor:pointer;font-weight:600}

/* Bloco Dual Thermometers */
.clima-usa-wrapper .dual{display:grid;grid-template-columns:1fr;gap:16px;margin-top:8px}
@media(min-width:720px){ .clima-usa-wrapper .dual{grid-template-columns:1fr 1fr} }
.clima-usa-wrapper .thermoCard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.clima-usa-wrapper .thermoHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.clima-usa-wrapper .unitTag{font-size:12px;background:#eef2ff;color:#3730a3;border-radius:999px;padding:6px 10px}
.clima-usa-wrapper .center{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.clima-usa-wrapper .val{font-size:40px;font-weight:700}
.clima-usa-wrapper .miniKv{display:grid;grid-template-columns:auto auto;gap:2px 10px;font-size:12px;color:var(--muted)}
.clima-usa-wrapper input[type="range"]{width:100%}


/* === APLICATIVOS ESSENCIAIS EUA === */
:root {
  --primary: #071a3d;
  --accent:  #2563eb;
  --ink:     #0f172a;
  --muted:   #64748b;
  --bg:      #f8fafc;
  --line:    #e5e7eb;
  --card:    #ffffff;
  --radius:  14px;
  --shadow-1: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-2: 0 4px 15px rgba(0,0,0,0.10);
}

.page-aplicativos-essenciais-eua { color: var(--ink); }

.page-aplicativos-essenciais-eua .intro {
  background: linear-gradient(0deg, #fff, #fff),
              radial-gradient(80% 120% at 0% 0%, rgba(37,99,235,0.06), transparent 60%),
              radial-gradient(80% 120% at 100% 0%, rgba(7,26,61,0.06), transparent 60%);
  padding: 18px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-align: center;
}
.page-aplicativos-essenciais-eua .intro h1,
.page-aplicativos-essenciais-eua .intro h2 { color: var(--primary); }
.page-aplicativos-essenciais-eua .intro .hint {
  background: #eef2ff; border: 1px dashed var(--accent);
  color: #1e293b; padding: 10px 12px; border-radius: 12px; font-size: 0.95rem;
}

.page-aplicativos-essenciais-eua .img-media {
  display: block; max-width: 100%; height: auto; border-radius: 12px;
  box-shadow: var(--shadow-1);
}
.page-aplicativos-essenciais-eua .img-media.center { margin: 10px auto; }
.page-aplicativos-essenciais-eua .img-media[style*="--img-w"] { width: var(--img-w); }
.page-aplicativos-essenciais-eua .img-media[style*="--img-h"] { height: var(--img-h); object-fit: cover; }

.page-aplicativos-essenciais-eua .intro .search {
  margin-top: 12px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.page-aplicativos-essenciais-eua .intro input[type="search"] {
  width: min(720px, 100%); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none;
}

.page-aplicativos-essenciais-eua .section-title {
  margin: 28px 0 14px; color: var(--primary); font-size: 1.6rem;
  border-bottom: 2px solid var(--accent); padding-bottom: 8px;
}

.page-aplicativos-essenciais-eua .grid-auto {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 12px;
}
.page-aplicativos-essenciais-eua .card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow-1); transition: box-shadow .2s ease, transform .15s ease;
}
.page-aplicativos-essenciais-eua .card:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.page-aplicativos-essenciais-eua .card .badge {
  display: inline-block; font-size: 0.75rem; padding: 4px 8px; border-radius: 999px; background: #eff6ff; color: var(--accent);
  border: 1px solid #dbeafe; margin-bottom: 8px;
}
.page-aplicativos-essenciais-eua .card h3 { color: var(--primary); margin: 4px 0 6px; font-size: 1.05rem; }
.page-aplicativos-essenciais-eua .card p { color: var(--ink); opacity: 0.92; line-height: 1.45; }

.page-aplicativos-essenciais-eua table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 0.96rem; }
.page-aplicativos-essenciais-eua table th,
.page-aplicativos-essenciais-eua table td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.page-aplicativos-essenciais-eua table th { background: #1e293b; color: #fff; font-weight: 600; }

.section-anchor { position: relative; top: -80px; display: block; height: 0; }

@media (max-width: 768px) { .page-aplicativos-essenciais-eua .intro { text-align: left; } }
 
/* === TRABALHAR NOS EUA === */
.page-trabalhar-nos-eua .intro {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0;
    text-align: center;
    color: #1f2937;
}

.page-trabalhar-nos-eua .section-title {
    margin: 28px 0 14px;
    color: #071a3d;
    font-size: 1.6rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 8px;
}

.page-trabalhar-nos-eua .grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.page-trabalhar-nos-eua .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-trabalhar-nos-eua table {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    margin: 18px 0;
}

.page-trabalhar-nos-eua table th,
.page-trabalhar-nos-eua table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.page-trabalhar-nos-eua table th {
    background: #1e293b;
    color: white;
    font-weight: 600;
}

.page-trabalhar-nos-eua .warning-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    color: #991b1b;
}

.page-trabalhar-nos-eua .warning-box h3 {
    color: #dc2626;
    margin-top: 0;
}

.page-trabalhar-nos-eua .salary-range {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
}

.page-trabalhar-nos-eua .salary-range h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.page-trabalhar-nos-eua .salary-range p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: white;
}

.page-trabalhar-nos-eua .salary-range small {
    opacity: 0.9;
    font-style: italic;
}

.page-trabalhar-nos-eua .image-placeholder {
    background: #f3f4f6;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #6b7280;
    margin: 20px 0;
}

.page-trabalhar-nos-eua .faq-container {
    margin-top: 20px;
}

.page-trabalhar-nos-eua .faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.page-trabalhar-nos-eua .faq-question {
    background: #ffffff;
    color: #1f2937;
    padding: 16px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
}

.page-trabalhar-nos-eua .faq-question:hover {
    background: #f9fafb;
}

.page-trabalhar-nos-eua .faq-question h4 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.page-trabalhar-nos-eua .faq-icon {
    transition: transform 0.3s ease;
    color: #6b7280;
    font-size: 14px;
}

.page-trabalhar-nos-eua .faq-answer {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
}

.page-trabalhar-nos-eua .faq-answer-content {
    padding: 16px;
    color: #1f2937;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-trabalhar-nos-eua .intro {
        text-align: left;
    }
    
    .page-trabalhar-nos-eua .salary-range {
        text-align: left;
    }
    
    .page-trabalhar-nos-eua .grid-auto {
        gap: 16px;
    }
}



/* commets  */

  <style>
    .page-historia-cultura-eua .intro {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 18px;
      margin: 18px 0;
      text-align: center;
      color: #1f2937;
    }

    .page-historia-cultura-eua .section-title {
      margin: 28px 0 14px;
      color: #071a3d;
      font-size: 1.6rem;
      border-bottom: 2px solid #2563eb;
      padding-bottom: 8px;
    }

    .page-historia-cultura-eua .grid-auto {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      margin-top: 12px;
    }

    .page-historia-cultura-eua table {
      width: 100%;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-collapse: collapse;
      margin: 18px 0;
    }

    .page-historia-cultura-eua table th, 
    .page-historia-cultura-eua table td {
      padding: 12px;
      border-bottom: 1px solid #e5e7eb;
      text-align: left;
    }

    .page-historia-cultura-eua table th {
      background: #1e293b ;
      color: #ffffff;
      font-weight: 600;
    }

    /* NOVO: Estilos para o Timeline em Fluxograma */
    .page-historia-cultura-eua .timeline-flow {
      background: #f9fafb;
      padding: 30px;
      border-radius: 12px;
      margin: 20px 0;
      border: 1px solid #e5e7eb;
    }

    .page-historia-cultura-eua .timeline-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      position: relative;
    }

    .page-historia-cultura-eua .timeline-era {
      background: white;
      padding: 20px;
      border-radius: 12px;
      border: 2px solid #e5e7eb;
      position: relative;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-historia-cultura-eua .era-title {
      background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: white;
      padding: 10px 15px;
      border-radius: 8px;
      margin: -20px -20px 15px -20px;
      font-weight: bold;
      text-align: center;
    }

    .page-historia-cultura-eua .timeline-event {
      margin: 12px 0;
      padding-left: 15px;
      border-left: 3px solid #cbd5e1;
      position: relative;
    }

    .page-historia-cultura-eua .timeline-event::before {
      content: '';
      position: absolute;
      left: -6px;
      top: 5px;
      width: 9px;
      height: 9px;
      background: #2563eb;
      border-radius: 50%;
    }

    .page-historia-cultura-eua .event-year {
      color: #2563eb;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .page-historia-cultura-eua .event-title {
      color: #071a3d;
      font-weight: 600;
      margin: 2px 0 4px 0;
      font-size: 0.95rem;
    }

    .page-historia-cultura-eua .event-desc {
      color: #64748b;
      font-size: 0.85rem;
      line-height: 1.4;
    }

    /* NOVO: Estilos para o Calendário de Feriados */
    .page-historia-cultura-eua .calendar-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin: 20px 0;
    }

    .page-historia-cultura-eua .month-card {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 15px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .page-historia-cultura-eua .month-title {
      background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
      color: #071a3d;
      text-align: center;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 15px;
      font-weight: bold;
    }

    .page-historia-cultura-eua .holiday-item {
      background: #f8fafc;
      border-left: 4px solid #2563eb;
      padding: 10px 12px;
      margin: 8px 0;
      border-radius: 0 8px 8px 0;
    }

    .page-historia-cultura-eua .holiday-date {
      font-weight: bold;
      color: #2563eb;
      font-size: 0.9rem;
    }

    .page-historia-cultura-eua .holiday-name {
      color: #071a3d;
      font-weight: 600;
      margin: 2px 0;
    }

    .page-historia-cultura-eua .holiday-desc {
      color: #64748b;
      font-size: 0.85rem;
    }

    .page-historia-cultura-eua .map-container {
      background: #f9fafb;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      margin: 20px 0;
      border: 1px solid #e5e7eb;
    }

    .page-historia-cultura-eua .ad-placeholder {
      background: #f3f4f6;
      border: 2px dashed #d1d5db;
      padding: 40px;
      text-align: center;
      margin: 30px 0;
      border-radius: 8px;
      color: #6b7280;
    }

    .page-historia-cultura-eua .image-placeholder {
      background: #f3f4f6;
      border: 2px dashed #d1d5db;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 20px 0;
      border-radius: 8px;
      color: #6b7280;
    }

    @media (max-width: 768px) {
      .page-historia-cultura-eua .intro {
        text-align: left;
      }
      
      .page-historia-cultura-eua table {
        font-size: 0.9rem;
      }

      .page-historia-cultura-eua .timeline-grid {
        grid-template-columns: 1fr;
      }

      .page-historia-cultura-eua .calendar-container {
        grid-template-columns: 1fr;
      }



    .card {
      margin-bottom: 20px;
    }
        }
      </style>


  <style>
    .page-sistema-transporte-eua .intro {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 18px;
      margin: 18px 0;
      text-align: center;
      color: #1f2937;
    }
    
    .page-sistema-transporte-eua .section-title {
      margin: 28px 0 14px;
      color: #071a3d;
      font-size: 1.6rem;
      border-bottom: 2px solid #2563eb;
      padding-bottom: 8px;
    }
    
    .page-sistema-transporte-eua .grid-auto {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-top: 20px;
    }
    
    .page-sistema-transporte-eua .card {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .page-sistema-transporte-eua table {
      width: 100%;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-collapse: collapse;
      margin: 18px 0;
    }
    
    .page-sistema-transporte-eua table th,
    .page-sistema-transporte-eua table td {
      padding: 12px;
      border-bottom: 1px solid #e5e7eb;
      text-align: left;
    }
    
    .page-sistema-transporte-eua table th {
      background: #1e293b;
      color: white;
      font-weight: 600;
    }
    
    .page-sistema-transporte-eua .highlight-box {
      background: #f9fafb;
      border-left: 4px solid #2563eb;
      padding: 16px;
      margin: 16px 0;
      border-radius: 6px;
    }
    
    .page-sistema-transporte-eua .warning-box {
      background: #fef3c7;
      border: 1px solid #f59e0b;
      padding: 16px;
      margin: 16px 0;
      border-radius: 8px;
    }
    
    .page-sistema-transporte-eua .app-link {
      display: inline-block;
      background: #2563eb;
      color: white;
      padding: 8px 16px;
      text-decoration: none;
      border-radius: 6px;
      margin: 4px 8px 4px 0;
      font-size: 0.9rem;
    }
    
    .page-sistema-transporte-eua .app-link:hover {
      background: #1d4ed8;
    }
    
    .page-sistema-transporte-eua .glossary-table td:first-child {
      font-size: 1.2rem;
      text-align: center;
      width: 40px;
    }
    
    .page-sistema-transporte-eua .card ul,
    .page-sistema-transporte-eua .card ol {
      padding-left: 40px;
      margin-left: 8px;
    }
    
    .page-sistema-transporte-eua .speed-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
      margin: 20px 0;
    }
    
    .page-sistema-transporte-eua .speed-card {
      color: white;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }
    
    .page-sistema-transporte-eua .speed-card:nth-child(1) {
      background: linear-gradient(135deg, #65a3be, #4a90a4);
    }
    
    .page-sistema-transporte-eua .speed-card:nth-child(2) {
      background: linear-gradient(135deg, #4a90a4, #3d7c95);
    }
    
    .page-sistema-transporte-eua .speed-card:nth-child(3) {
      background: linear-gradient(135deg, #3d7c95, #2f6879);
    }
    
    .page-sistema-transporte-eua .speed-card:nth-child(4) {
      background: linear-gradient(135deg, #2f6879, #1e4a5e);
    }
    
    .page-sistema-transporte-eua .speed-card:nth-child(5) {
      background: linear-gradient(135deg, #1e4a5e, #0d2c42);
    }
    
    .page-sistema-transporte-eua .speed-card:hover {
      transform: translateY(-4px);
    }
    
    .page-sistema-transporte-eua .speed-card h4 {
      margin: 0 0 12px 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: white;
    }
    
    .page-sistema-transporte-eua .speed-card .speed {
      font-size: 1.4rem;
      font-weight: bold;
      margin: 8px 0;
    }
    
    .page-sistema-transporte-eua .speed-card .conversion {
      font-size: 0.9rem;
      opacity: 0.9;
    }
    
    .page-sistema-transporte-eua .region-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      margin: 20px 0;
    }
    
    .page-sistema-transporte-eua .region-card {
      border-radius: 12px;
      padding: 24px;
      color: white;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      transition: transform 0.3s ease;
    }
    
    .page-sistema-transporte-eua .region-card:hover {
      transform: translateY(-4px);
    }
    
    .page-sistema-transporte-eua .region-card.east {
      background: linear-gradient(135deg, #1e40af, #3b82f6);
    }
    
    .page-sistema-transporte-eua .region-card.west {
      background: linear-gradient(135deg, #059669, #10b981);
    }
    
    .page-sistema-transporte-eua .region-card.south {
      background: linear-gradient(135deg, #dc2626, #ef4444);
    }
    
    .page-sistema-transporte-eua .region-card.midwest {
      background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    }
    
    .page-sistema-transporte-eua .region-card h3 {
      margin-top: 0;
      margin-bottom: 16px;
      font-size: 1.3rem;
      font-weight: 600;
    }
    
    .page-sistema-transporte-eua .region-card p {
      margin: 0;
      line-height: 1.6;
    }

    /* FAQ Styles - Padrão do site */
    .page-sistema-transporte-eua .faq-container {
      margin-top: 20px;
    }
    
    .page-sistema-transporte-eua .faq-item {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      margin-bottom: 16px;
      overflow: hidden;
      box-shadow: none;
      transition: all 0.3s ease;
    }
    
    .page-sistema-transporte-eua .faq-question {
      background: #ffffff;
      color: #1f2937;
      padding: 16px;
      margin: 0;
      font-size: 1.1rem;
      font-weight: 500;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: none;
    }
    
    .page-sistema-transporte-eua .faq-question:hover {
      background: #f9fafb;
    }
    
    .page-sistema-transporte-eua .faq-question h4 {
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
      color: inherit;
    }
    
    .page-sistema-transporte-eua .faq-icon {
      transition: transform 0.3s ease;
      color: #6b7280;
      font-size: 14px;
    }
    
    .page-sistema-transporte-eua .faq-answer {
      max-height: 0px;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #ffffff;
    }
    
    .page-sistema-transporte-eua .faq-answer-content {
      padding: 16px;
      color: #1f2937;
      line-height: 1.6;
    }
    
    @media (max-width: 768px) {
      .page-sistema-transporte-eua .intro {
        text-align: left;
      }
      
      .page-sistema-transporte-eua table {
        font-size: 0.9rem;
      }
      
      .page-sistema-transporte-eua .grid-auto {
        gap: 16px;
      }
    }

    /* Base */
    .mob-transporte{margin:16px 0 28px;color:#0f172a}
    .mob-transporte .section-title{margin:12px 0 10px;color:#0f172a;font-size:1.8rem;border-bottom:2px solid #2563eb22;padding-bottom:8px}
    .mob-transporte .muted{color:#475569}

    /* Mapa + filtros */
    .map-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin-bottom:16px}
    #us-mobility-map{width:100%;height:440px}
    .map-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .chip{border:1px solid transparent;padding:8px 12px;border-radius:999px;cursor:pointer;font-weight:700;letter-spacing:.1px}
    .chip-all{background:#e2e8f0;color:#0f172a;border-color:#cbd5e1}

    /* PALETA SUAVE — mesma no mapa e nos chips */
    :root{
      --c-ne:#8EC5FF; /* azul suave */
      --c-gl:#C4B5FD; /* lavanda */
      --c-pc:#A7F3D0; /* menta */
      --c-mp:#FDE68A; /* bege/âmbar claro */
      --c-as:#FCA5A5; /* coral claro */
      --c-gt:#93C5FD; /* céu claro */
    }
    .chip-ne{background:var(--c-ne);color:#0f172a;border-color:var(--c-ne)}
    .chip-gl{background:var(--c-gl);color:#0f172a;border-color:var(--c-gl)}
    .chip-pc{background:var(--c-pc);color:#0f172a;border-color:var(--c-pc)}
    .chip-mp{background:var(--c-mp);color:#0f172a;border-color:var(--c-mp)}
    .chip-as{background:var(--c-as);color:#0f172a;border-color:var(--c-as)}
    .chip-gt{background:var(--c-gt);color:#0f172a;border-color:var(--c-gt)}

    /* Cards */
    .grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
    .mob-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 6px 16px rgba(2,6,23,.06);overflow:hidden}
    .card-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px}
    .card-head h3{margin:0;font-size:1.08rem}
    .card-body{padding:14px 16px}
    .badge{background:#ffffffcc;color:#0f172a;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-weight:700;font-size:.82rem}
    .subgroup{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;margin:10px 0}
    .subgroup h4{margin:0 0 8px;color:#0f172a;font-size:1rem}
    .states{list-style:none;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap}
    .states li{border:1px solid #e5e7eb;background:#f8fafc;color:#0f172a;padding:6px 10px;border-radius:999px;font-size:.9rem;white-space:nowrap}

    /* Cores do cabeçalho (mesma paleta) */
    .head-ne{background:var(--c-ne)}
    .head-gl{background:var(--c-gl)}
    .head-pc{background:var(--c-pc)}
    .head-mp{background:var(--c-mp)}
    .head-as{background:var(--c-as)}
    .head-gt{background:var(--c-gt)}

    /* Dim nos cards ao filtrar */
    .mob-card.is-dim{opacity:.35;filter:grayscale(.2)}
  </style>


<style>
.page-primeira-viagem-eua .intro {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0;
    text-align: center;
    color: #1f2937;
}

.page-primeira-viagem-eua .section-title {
    margin: 28px 0 14px;
    color: #071a3d;
    font-size: 1.6rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 8px;
}

.page-primeira-viagem-eua .grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.page-primeira-viagem-eua table {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    margin: 18px 0;
}

.page-primeira-viagem-eua table th, .page-primeira-viagem-eua table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.page-primeira-viagem-eua table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 600;
}

.page-primeira-viagem-eua .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #2563eb;
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
}

.page-primeira-viagem-eua .warning-box {
    background: #fef3cd;
    border-left: 4px solid #f59e0b;
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
}

.page-primeira-viagem-eua .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.page-primeira-viagem-eua .card h3 {
    color: #071a3d;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.page-primeira-viagem-eua .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.page-primeira-viagem-eua .adsense-placeholder {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin: 24px 0;
    border-radius: 8px;
    font-size: 14px;
}

/* FAQ Styles */
.page-primeira-viagem-eua .faq-container {
    margin-top: 20px;
}

.page-primeira-viagem-eua .faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-primeira-viagem-eua .faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: background-color 0.3s ease;
}

.page-primeira-viagem-eua .faq-question:hover {
    background: #f8fafc;
}

.page-primeira-viagem-eua .faq-question h4 {
    margin: 0;
    color: #071a3d;
    font-size: 1.1rem;
    font-weight: 600;
}

.page-primeira-viagem-eua .faq-icon {
    color: #6b7280;
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.page-primeira-viagem-eua .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.page-primeira-viagem-eua .faq-answer-content {
    padding: 0 20px 20px 20px;
    color: #374151;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-primeira-viagem-eua .intro {
        text-align: left;
    }
    
    .page-primeira-viagem-eua table {
        font-size: 14px;
    }
    
    .page-primeira-viagem-eua table th, .page-primeira-viagem-eua table td {
        padding: 8px;
    }
    
    .page-primeira-viagem-eua .faq-question {
        padding: 15px;
    }
    
    .page-primeira-viagem-eua .faq-answer-content {
        padding: 0 15px 15px 15px;
    }
}
</style>


    <style>
        .page-primeiros-passos-residente .intro {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 24px;
            margin: 20px 0;
            text-align: center;
            color: #1f2937;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .page-primeiros-passos-residente .section-title {
            margin: 32px 0 16px;
            color: #071a3d;
            font-size: 1.8rem;
            border-bottom: 3px solid #2563eb;
            padding-bottom: 10px;
            font-weight: 700;
        }
        
        .page-primeiros-passos-residente .grid-auto {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 18px;
            margin-top: 16px;
        }
        
        .page-primeiros-passos-residente .card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 20px;
        }
        
        .page-primeiros-passos-residente .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        }
        
        .page-primeiros-passos-residente .card h3 {
            color: #071a3d;
            margin-bottom: 12px;
            font-size: 1.3rem;
            font-weight: 600;
        }
        
        .page-primeiros-passos-residente .highlight-box {
            background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
            border-left: 4px solid #2563eb;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
        }
        
        .page-primeiros-passos-residente .warning-box {
            background: #fef2f2;
            border-left: 4px solid #ef4444;
            padding: 18px;
            margin: 18px 0;
            border-radius: 8px;
        }
        
        .page-primeiros-passos-residente .success-box {
            background: #f0fdf4;
            border-left: 4px solid #22c55e;
            padding: 18px;
            margin: 18px 0;
            border-radius: 8px;
        }
        
        .page-primeiros-passos-residente table {
            width: 100%;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-collapse: collapse;
            margin: 20px 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        
        .page-primeiros-passos-residente table th,
        .page-primeiros-passos-residente table td {
            padding: 14px;
            border-bottom: 1px solid #e5e7eb;
            text-align: left;
        }
        
        .page-primeiros-passos-residente table th {
            background: #1e293b;
            color: white;
            font-weight: 600;
        }
        
        .page-primeiros-passos-residente .step-number {
            background: #2563eb;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .page-primeiros-passos-residente .step-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        
        .page-primeiros-passos-residente .link-external {
            color: #2563eb;
            text-decoration: underline;
            font-weight: 500;
        }
        
        .page-primeiros-passos-residente .link-external:hover {
            color: #1d4ed8;
        }
        
        .page-primeiros-passos-residente .ad-placeholder {
            background: #f9fafb;
            border: 2px dashed #d1d5db;
            padding: 40px 20px;
            text-align: center;
            margin: 30px 0;
            border-radius: 8px;
            color: #6b7280;
        }
        
        .page-primeiros-passos-residente .image-placeholder {
            background: #f3f4f6;
            border: 2px dashed #d1d5db;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            border-radius: 8px;
            margin: 16px 0;
        }

        .page-primeiros-passos-residente .faq-item {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin: 15px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-primeiros-passos-residente .faq-question {
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .page-primeiros-passos-residente .faq-question h4 {
            margin: 0;
            color: #1e293b;
            font-weight: 600;
        }

        .page-primeiros-passos-residente .faq-icon {
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .page-primeiros-passos-residente .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            border-top: 1px solid #f1f5f9;
        }

        .page-primeiros-passos-residente .faq-answer-content {
            padding: 15px;
            color: #374151;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .page-primeiros-passos-residente .intro {
                text-align: left;
                padding: 18px;
            }
            
            .page-primeiros-passos-residente .section-title {
                font-size: 1.5rem;
            }
            
            .page-primeiros-passos-residente .grid-auto {
                grid-template-columns: 1fr;
            }
            
            .page-primeiros-passos-residente table {
                font-size: 0.9rem;
            }
            
            .page-primeiros-passos-residente table th,
            .page-primeiros-passos-residente table td {
                padding: 10px;
            }
        }
    </style>

    <style>
        .page-contato-sugestao .intro {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 18px;
            margin: 18px 0;
            text-align: center;
            color: #1f2937;
        }
        .page-contato-sugestao .section-title {
            margin: 28px 0 14px;
            color: #071a3d;
            font-size: 1.6rem;
            border-bottom: 2px solid #2563eb;
            padding-bottom: 8px;
        }
        .page-contato-sugestao .form-container {
            background: #f9fafb;
            padding: 24px;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            margin: 20px 0;
        }
        .page-contato-sugestao .form-group {
            margin-bottom: 16px;
        }
        .page-contato-sugestao .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #1f2937;
        }
        .page-contato-sugestao .form-group input,
        .page-contato-sugestao .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            background-color: #ffffff;
            color: #1f2937;
        }
        .page-contato-sugestao .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        .page-contato-sugestao .form-button {
            background-color: #2563eb;
            color: #ffffff;
            padding: 12px 24px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }
        .page-contato-sugestao .form-button:hover {
            background-color: #071a3d;
        }
        .page-contato-sugestao .image-container {
            text-align: center;
            margin: 20px 0;
        }
        .page-contato-sugestao .image-container img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        .page-contato-sugestao .response-message {
            margin-top: 16px;
            padding: 12px;
            border-radius: 6px;
            font-weight: 600;
            display: none;
        }
        .page-contato-sugestao .response-message.success {
            background-color: #d1fae5;
            color: #065f46;
        }
        .page-contato-sugestao .response-message.error {
            background-color: #fee2e2;
            color: #991b1b;
        }
        @media (max-width: 768px) {
            .page-contato-sugestao .intro {
                text-align: left;
            }
        }
    </style>

    <style>
        .page-aprender-ingles .intro {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 24px;
            margin: 20px 0;
            text-align: center;
            color: #1f2937;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .page-aprender-ingles .section-title {
            margin: 32px 0 16px;
            color: #071a3d;
            font-size: 1.8rem;
            border-bottom: 3px solid #2563eb;
            padding-bottom: 10px;
            font-weight: 700;
        }
        
        .page-aprender-ingles .category-title {
            margin: 32px 0 16px;
            color: #071a3d;
            font-size: 1.8rem;
            border-bottom: 3px solid #2563eb;
            padding-bottom: 10px;
            font-weight: 700;
        }
        
        .page-aprender-ingles .grid-auto {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 18px;
            margin-top: 16px;
        }
        
        .page-aprender-ingles .card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .page-aprender-ingles .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        }
        
        .page-aprender-ingles .card h3 {
            color: #071a3d;
            margin-bottom: 12px;
            font-size: 1.3rem;
            font-weight: 600;
        }
        
        .page-aprender-ingles .highlight-box {
            background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
            border-left: 4px solid #2563eb;
            padding: 20px;
            margin: 20px 0;
            border-radius: 8px;
        }
        
        .page-aprender-ingles .success-box {
            background: #f0fdf4;
            border-left: 4px solid #22c55e;
            padding: 18px;
            margin: 18px 0;
            border-radius: 8px;
        }
        
        .page-aprender-ingles .warning-box {
            background: #fef2f2;
            border-left: 4px solid #ef4444;
            padding: 18px;
            margin: 18px 0;
            border-radius: 8px;
        }
        
        .page-aprender-ingles table {
            width: 100%;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-collapse: collapse;
            margin: 20px 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        
        .page-aprender-ingles table th,
        .page-aprender-ingles table td {
            padding: 14px;
            border-bottom: 1px solid #e5e7eb;
            text-align: left;
        }
        
        .page-aprender-ingles table th {
            background: #1e293b;
            color: white;
            font-weight: 600;
        }
        
        .page-aprender-ingles .skill-level {
            background: #2563eb;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            text-align: center;
        }
        
        .page-aprender-ingles .skill-level.beginner {
            background: #22c55e;
        }
        
        .page-aprender-ingles .skill-level.intermediate {
            background: #f59e0b;
        }
        
        .page-aprender-ingles .skill-level.advanced {
            background: #ef4444;
        }
        
        .page-aprender-ingles .link-external {
            color: #2563eb;
            text-decoration: underline;
            font-weight: 500;
        }
        
        .page-aprender-ingles .link-external:hover {
            color: #1d4ed8;
        }
        
        .page-aprender-ingles .ad-placeholder {
            background: #f9fafb;
            border: 2px dashed #d1d5db;
            padding: 40px 20px;
            text-align: center;
            margin: 30px 0;
            border-radius: 8px;
            color: #6b7280;
        }
        
        .page-aprender-ingles .image-placeholder {
            background: #f3f4f6;
            border: 2px dashed #d1d5db;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            border-radius: 8px;
            margin: 16px 0;
        }
        
        .page-aprender-ingles .four-skills {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin: 20px 0;
        }
        
        .page-aprender-ingles .skill-card {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 18px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .page-aprender-ingles .skill-card:hover {
            border-color: #2563eb;
            transform: translateY(-2px);
        }
        
        .page-aprender-ingles .skill-icon {
            font-size: 2.5rem;
            margin-bottom: 10px;
            display: block;
        }

        /* FAQ Styles */
        .page-aprender-ingles .faq-item {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin: 15px 0;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .page-aprender-ingles .faq-question {
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .page-aprender-ingles .faq-question h4 {
            margin: 0;
            color: #1e293b;
            font-weight: 600;
        }

        .page-aprender-ingles .faq-icon {
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .page-aprender-ingles .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            border-top: 1px solid #f1f5f9;
        }

        .page-aprender-ingles .faq-answer div {
            padding: 15px;
        }

        .page-aprender-ingles .faq-answer p {
            margin: 0;
            color: #374151;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .page-aprender-ingles .intro {
                text-align: left;
                padding: 18px;
            }
            
            .page-aprender-ingles .section-title {
                font-size: 1.5rem;
            }
            
            .page-aprender-ingles .category-title {
                font-size: 1.5rem;
            }
            
            .page-aprender-ingles .grid-auto {
                grid-template-columns: 1fr;
            }
            
            .page-aprender-ingles table {
                font-size: 0.9rem;
            }
            
            .page-aprender-ingles table th,
            .page-aprender-ingles table td {
                padding: 10px;
            }
        }
    </style>

    <style>
      .card {
        margin-bottom: 20px; /* Adiciona 20 pixels de espaço na parte inferior de cada card */
      }
    </style>


<style>
        .page-custo-vida .intro {
            background: linear-gradient(135deg, #1e293b 0%, #334155 50%);
            color: white;
            border-radius: 16px;
            padding: 2rem;
            margin: 1.5rem 0;
            text-align: center;
        }
        
        .page-custo-vida .intro h1 {
            margin: 0 0 1rem 0;
            font-size: 2rem;
            font-weight: 700;
        }
        
        .page-custo-vida .intro p {
            margin: 0;
            font-size: 1.1rem;
            opacity: 0.95;
        }
        
        .page-custo-vida .section-title {
            margin: 2.5rem 0 1rem;
            color: #1e293b;
            font-size: 1.75rem;
            font-weight: 600;
            border-bottom: 3px solid #3b82f6;
            padding-bottom: 0.5rem;
            display: inline-block;
        }
        
        .page-custo-vida .card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        
        .page-custo-vida .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .page-custo-vida .summary-card {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border: 2px solid #cbd5e1;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
        }
        
        .page-custo-vida .summary-card h3 {
            margin: 0 0 0.5rem;
            color: #1e293b;
            font-size: 1.1rem;
        }
        
        .page-custo-vida .summary-card .value {
            font-size: 1.8rem;
            font-weight: 700;
            color: #3b82f6;
            margin-bottom: 0.5rem;
        }
        
        .page-custo-vida .budget-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
            align-items: start;
        }
        
        .page-custo-vida .budget-form {
            display: block;
        }
        
        .page-custo-vida .budget-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 0.5rem;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .page-custo-vida .category-cell {
            background: #6b7280;
            color: white;
            font-weight: 600;
            padding: 1rem;
            text-align: center;
            vertical-align: middle;
            border-right: 1px solid #9ca3af;
            width: 140px;
            font-size: 0.9rem;
        }
        
        .page-custo-vida .item-cell {
            padding: 0.75rem 1rem;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            color: #374151;
            font-weight: 500;
            width: auto;
        }
        
        .page-custo-vida .input-cell {
            padding: 0.75rem 1rem;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            border-left: 1px solid #e2e8f0;
            text-align: right;
            width: 120px;
        }
        
        .page-custo-vida .input-cell input {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            text-align: right;
            font-weight: 600;
            background: white;
            font-size: 0.9rem;
        }
        
        .page-custo-vida .budget-table tbody tr:last-child .item-cell,
        .page-custo-vida .budget-table tbody tr:last-child .input-cell {
            border-bottom: none;
        }
        
        .page-custo-vida .budget-table tbody tr:hover .item-cell,
        .page-custo-vida .budget-table tbody tr:hover .input-cell {
            background: #f1f5f9;
        }
        
        .page-custo-vida .form-group {
            display: grid;
            grid-template-columns: 1fr 120px;
            align-items: center;
            gap: 1rem;
            padding: 0.5rem 0.75rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            margin-bottom: 0.5rem;
        }
        
        .page-custo-vida .form-group label {
            margin: 0;
            font-weight: 500;
            color: #374151;
        }
        
        .page-custo-vida .form-group input {
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            text-align: right;
            font-weight: 600;
            background: white;
        }
        
        .page-custo-vida .chart-container {
            position: sticky;
            top: 2rem;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        
        .page-custo-vida .category-header {
            background: #1e293b;
            color: white;
            padding: 0.75rem;
            margin: 1rem -0.75rem 0.75rem;
            border-radius: 8px;
            font-weight: 600;
            text-align: center;
        }
        
        .page-custo-vida .toggle-section {
            border: 2px dashed #cbd5e1;
            border-radius: 12px;
            padding: 1rem;
            margin: 1rem 0;
            background: #f8fafc;
        }
        
        .page-custo-vida .toggle-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: #374151;
            cursor: pointer;
            margin-bottom: 1rem;
        }
        
        .page-custo-vida .city-comparison {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 2px solid #0ea5e9;
            border-radius: 16px;
            padding: 2rem;
        }
        
        .page-custo-vida .comparison-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        
        .page-custo-vida .comparison-card {
            background: white;
            border: 1px solid #0ea5e9;
            border-radius: 12px;
            padding: 1.5rem;
        }
        
        .page-custo-vida .city-selector {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .page-custo-vida .city-btn {
            padding: 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            text-align: center;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .page-custo-vida .city-btn:hover,
        .page-custo-vida .city-btn.active {
            border-color: #3b82f6;
            background: #eff6ff;
            color: #3b82f6;
        }
        
        .page-custo-vida .estimated-cost {
            background: #dcfce7;
            border: 2px solid #16a34a;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            margin-top: 1rem;
        }
        
        .page-custo-vida .estimated-cost .amount {
            font-size: 2rem;
            font-weight: 700;
            color: #16a34a;
        }

        .page-custo-vida .faq-container {
            margin-top: 2rem;
        }
        
        .page-custo-vida .faq-item {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            margin-bottom: 1rem;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .page-custo-vida .faq-item:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .page-custo-vida .faq-question {
            background: #ffffff;
            color: #1f2937;
            padding: 1.25rem;
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: none;
            width: 100%;
        }
        
        .page-custo-vida .faq-question:hover {
            background: #f9fafb;
        }
        
        .page-custo-vida .faq-question h4 {
            margin: 0;
            font-size: inherit;
            font-weight: inherit;
            color: inherit;
        }
        
        .page-custo-vida .faq-icon {
            color: #6b7280;
            font-size: 14px;
            transition: transform 0.3s ease;
        }
        
        .page-custo-vida .faq-answer {
            background: #ffffff;
            border-top: 1px solid #f3f4f6;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .page-custo-vida .faq-answer.show {
            max-height: 500px;
        }
        
        .page-custo-vida .faq-answer-content {
            padding: 1.25rem;
            color: #374151;
            line-height: 1.7;
        }
        
        .page-custo-vida table {
            width: 100%;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-collapse: collapse;
            margin: 1rem 0;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .page-custo-vida table th,
        .page-custo-vida table td {
            padding: 1rem;
            border-bottom: 1px solid #f3f4f6;
            text-align: left;
        }
        
        .page-custo-vida table th {
            background: #1e293b;
            color: white;
            font-weight: 600;
        }
        
        .page-custo-vida table tr:hover {
            background: #f9fafb;
        }

        .btn-group {
            text-align: center;
            margin-top: 1.5rem;
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-reset {
            background: #ef4444;
            color: white;
        }

        .btn-reset:hover {
            background: #dc2626;
        }

        .btn-default {
            background: #16a34a;
            color: white;
        }

        .btn-default:hover {
            background: #15803d;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .page-custo-vida .budget-container {
                grid-template-columns: 1fr;
            }
            
            .page-custo-vida .chart-container {
                position: static;
            }
            
            .page-custo-vida .budget-table {
                font-size: 0.85rem;
            }
            
            .page-custo-vida .category-cell {
                width: 100px;
                padding: 0.75rem 0.5rem;
                font-size: 0.8rem;
            }
            
            .page-custo-vida .item-cell {
                padding: 0.5rem 0.75rem;
            }
            
            .page-custo-vida .input-cell {
                width: 80px;
                padding: 0.5rem;
            }
            
            .page-custo-vida .input-cell input {
                padding: 0.4rem;
                font-size: 0.85rem;
            }
            
            .page-custo-vida .summary-cards {
                grid-template-columns: 1fr;
            }
            
            .page-custo-vida .comparison-grid {
                grid-template-columns: 1fr;
            }

            .btn-group {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 200px;
            }
        }
    </style>


    /* === ESTILOS PARA A PÁGINA DE VÍDEOS (videos.php) === */

/* Herói específico da página de vídeos */
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin: 0 auto 2rem auto;
    text-align: center;
}

/* Título da Seção de Vídeos */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

/* Grid de Vídeos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.video-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: #f8fafc;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.25rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === RESPONSIVIDADE PARA A PÁGINA DE VÍDEOS === */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* === ESTILOS PARA LAZY LOADING DO YOUTUBE === */

.lazy-youtube {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.lazy-youtube img {
  /* Garante que a imagem preencha o contêiner sem distorcer */
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

/* Efeito de zoom suave ao passar o mouse */
.lazy-youtube:hover img {
  transform: scale(1.02);
}

.play-button {
  /* Centraliza o botão de play */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* Estilo do botão */
  width: 68px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Impede que o botão intercepte o clique (o clique é no container) */
  pointer-events: none;
  transition: background-color 0.2s ease;
}

/* Muda a cor do botão ao passar o mouse no vídeo */
.lazy-youtube:hover .play-button {
  background-color: rgba(255, 0, 0, 0.8);
}

/* Desenha o ícone de "play" (triângulo) usando CSS */
.play-button::before {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}



/* Só ajusta a imagem do card Vídeos */
.card-videos img {
  aspect-ratio: 21/5;   /* formato banner */
  height: auto;
  object-fit: cover;
}
