/*
Theme Name: Cartão Premiação
Theme URI: www.cartaopremiacao.com
Author: O Motivo
Description: Tema profissional para O Motivo - Finanças
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: o-motivo
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open%20Sans:wght@300;400;600&display=swap');

:root {
  --primary: #000000;
  --secondary: #232323;
  --accent: #fec700;
  --footer-bg: #232323;
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--body-font); color: #333; line-height: 1.7; }
h1,h2,h3,h4,h5,h6 { font-family: var(--heading-font); color: var(--secondary); line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { margin: 2px 10px 2px 0; flex-shrink: 0; }
.site-logo img { max-height: 70px; }
.site-logo a { font-family: var(--heading-font); font-size: 24px; font-weight: 700; color: var(--secondary); }
.main-nav ul { list-style: none; display: flex; gap: 18px; }
.main-nav a { font-weight: 600; font-size: 14px; color: var(--secondary); padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--primary); border-bottom-color: var(--primary); }

/* Hero */
.hero-section { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 80px 20px; text-align: center; }
.hero-section h1 { color: #fff; font-size: 48px; margin-bottom: 20px; }
.hero-section p { font-size: 20px; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.3s; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; color: #fff; }
@keyframes whatsapp-pulse { 0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); } 50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(37,211,102,0.6); } 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); } }
.whatsapp-float { animation: whatsapp-pulse 2s ease-in-out infinite; }
.whatsapp-float:hover { animation: none; transform: scale(1.1); }

/* Content */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-area { padding: 60px 0; }
.content-area h1 { font-size: 36px; margin-bottom: 20px; }
.content-area h2 { font-size: 28px; margin: 40px 0 15px; color: var(--primary); }
.content-area h3 { font-size: 22px; margin: 30px 0 12px; }
.content-area p { margin-bottom: 18px; font-size: 17px; }
.content-area ul, .content-area ol { margin: 15px 0 25px 30px; }
.content-area li { margin-bottom: 8px; font-size: 17px; }

/* Layout */
.page-layout { display: flex; gap: 40px; }
.main-content { flex: 1; }
.main-content.full-width { max-width: 100%; }
.sidebar { width: 320px; flex-shrink: 0; }
.sidebar .widget { background: #f8f9fa; padding: 25px; border-radius: 8px; margin-bottom: 25px; }
.sidebar .widget h3 { font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.sidebar .cta-widget { background: var(--primary); color: #fff; text-align: center; }
.sidebar .cta-widget h3 { color: #fff; border-bottom-color: var(--accent); }
.sidebar .cta-widget .btn { margin-top: 15px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 25px; }
.blog-card h2 { font-size: 20px; margin-bottom: 10px; }
.blog-card .excerpt { color: #666; font-size: 15px; margin-bottom: 15px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { padding: 15px 0; font-size: 14px; color: #666; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span.separator { margin: 0 8px; }

/* Footer */
.site-footer-wrapper { background: var(--footer-bg); color: #ccc; padding: 50px 20px 25px; max-width: 1200px; margin: 0 auto; }
.site-footer { max-width: 1200px; margin: 0 auto; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-col h3 { color: #fff; font-size: 18px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 25px; margin-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }

/* Page Banner */
.page-banner-wrapper { background: url('https://abacusai-apps-f3d66231f688ed9c5a6e5700-us-west-2.s3.us-west-2.amazonaws.com/43234/public/uploads/1778716624085-iStock-2243476910.jpg') center/cover no-repeat; position: relative; max-width: 1200px; margin: 0 auto; }
.page-banner { max-width: 1200px; margin: 0 auto; color: #fff; padding: 0; text-align: center; display: flex; align-items: center; justify-content: center; position: relative; }
.page-banner-wrapper .banner-overlay-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); }
.page-banner .banner-overlay { padding: 50px 20px; width: 100%; position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 42px; font-family: var(--heading-font); margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.page-banner p { color: rgba(255,255,255,0.9); font-size: 18px; margin-top: 10px; }

/* Contact Form */
.contact-form-wrapper { max-width: 100%; margin: 40px 0; }
.contact-form-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px 48px; }
.contact-form-card .form-group { margin-bottom: 24px; }
.contact-form-card label { display: block; font-weight: 600; margin-bottom: 8px; color: #374151; font-size: 15px; letter-spacing: 0.01em; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea,
.contact-form-card select { width: 100%; padding: 14px 18px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: var(--body-font); transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
.contact-form-card input:focus, .contact-form-card textarea:focus, .contact-form-card select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.contact-form-card textarea { min-height: 120px; resize: vertical; }
.contact-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-card .btn-submit { display: inline-block; background: var(--primary); color: #fff; border: none; padding: 16px 48px; font-size: 17px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: background 0.3s, transform 0.15s; margin-top: 8px; }
.contact-form-card .btn-submit:hover { background: var(--secondary); transform: translateY(-1px); }
.contact-form-card .form-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; }
.contact-form-card .form-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; }

/* FAQ */
.faq-item { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 12px; padding: 20px; }
.faq-item h3 { font-size: 18px; color: var(--secondary); margin-bottom: 10px; cursor: pointer; }
.faq-item p { color: #555; }

/* Language Switcher */
.lang-switcher { position: relative; display: inline-flex; align-items: center; margin-left: 20px; }
.lang-switcher-current { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--secondary); background: #f1f5f9; border: 1px solid #e2e8f0; transition: all 0.2s; }
.lang-switcher-current:hover { background: #e2e8f0; }
.lang-switcher-current .flag-emoji { font-size: 20px; line-height: 1; }
.lang-switcher-current .arrow { font-size: 10px; margin-left: 2px; transition: transform 0.2s; }
.lang-switcher.open .lang-switcher-current .arrow { transform: rotate(180deg); }
.lang-switcher-dropdown { display: none; position: absolute; top: 100%; right: 0; margin-top: 6px; background: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border: 1px solid #e2e8f0; min-width: 180px; z-index: 200; overflow: hidden; }
.lang-switcher.open .lang-switcher-dropdown { display: block; }
.lang-switcher-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; color: #333; text-decoration: none; transition: background 0.15s; border-bottom: 1px solid #f1f5f9; }
.lang-switcher-dropdown a:last-child { border-bottom: none; }
.lang-switcher-dropdown a:hover { background: #f8fafc; }
.lang-switcher-dropdown a.active { background: #ede9fe; color: var(--primary); font-weight: 600; }
.lang-switcher-dropdown .flag-emoji { font-size: 20px; line-height: 1; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 15px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-section h1 { font-size: 32px; }
  .page-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .lang-switcher { margin-left: 0; }
  .lang-switcher-dropdown { right: auto; left: 50%; transform: translateX(-50%); }
  .page-banner .banner-overlay { padding: 30px 20px; }
  .page-banner h1 { font-size: 28px; }
  .contact-form-card { padding: 24px 20px; }
  .contact-form-card .form-row { grid-template-columns: 1fr; }
}

/* Hide CookieAdmin plugin notices if installed */
#cookieadmin_notice_wrapper { display: none !important; }
.cookieadmin_notice_con { display: none !important; }
#cookieadmin_notice { display: none !important; }
