
:root{
  --navy:#001a2d;
  --navy-2:#061f32;
  --navy-3:#0a2a40;
  --gold: #c99b3b;
  --gold-2:#d7ad58;
  --ink:#0e1012;
  --muted:#72767b;
  --paper:#f8f8f6;
  --white:#fff;
  --line:#e5e5e2;
  --sidebar-w:200px;
  --serif:"Playfair Display",Georgia,serif;
  --sans:"Inter",Arial,sans-serif;

  --bg-page:#fff;
  --bg-section:#f8f8f6;
  --bg-card:#fff;
  --bg-input:#1e3a52;
  --bg-input-focus:#264b66;
  --bg-toast:#082238;

  --text-primary:#0e1012;
  --text-secondary:#555;
  --text-muted:#888;
  --text-on-dark:#fff;
  --text-on-dark-secondary:#b0c4d9;
  --text-on-dark-muted:#7a94ae;

  --border-color:#e5e5e2;
  --border-light:#eee;
  --border-input:#ddd;

  --card-shadow:0 2px 8px rgba(0,0,0,.035);
  --card-shadow-hover:0 4px 12px rgba(0,0,0,.1);

  --footer-bg:#001a2d;
  --footer-text:#c9d1d6;
  --footer-heading:#fff;
  --footer-link:#b0c4d9;
  --footer-muted:#7a94ae;
  --footer-divider:#0a2a40;

  --subscribe-bg:linear-gradient(90deg,#062139,#09283e);
  --event-date-border:#eee;
  --quote-bg:#f0f0ee;
  --feature-overlay:linear-gradient(90deg,rgba(2,23,39,.82),rgba(2,23,39,.18));
}

/* DARK THEME */
[data-theme="dark"]{
  --navy:#0a1628;
  --navy-2:#0d1b2e;
  --navy-3:#112240;
  --ink:#e4e6eb;
  --muted:#9ca3af;
  --paper:#0f1724;
  --white:#1a2332;
  --line:#1e2d3d;

  --bg-page:#0f1724;
  --bg-section:#111b27;
  --bg-card:#151f2e;
  --bg-input:#0d1b2e;
  --bg-input-focus:#162032;
  --bg-toast:#0d1b2e;

  --text-primary:#e4e6eb;
  --text-secondary:#b0b8c4;
  --text-muted:#7a8594;
  --text-on-dark:#e4e6eb;
  --text-on-dark-secondary:#b0b8c4;
  --text-on-dark-muted:#7a8594;

  --border-color:#2d3f54;
  --border-light:#283a4e;
  --border-input:#3d5068;

  --card-shadow:0 2px 8px rgba(0,0,0,.2);
  --card-shadow-hover:0 4px 12px rgba(0,0,0,.35);

  --footer-bg:#080e18;
  --footer-text:#b0b8c4;
  --footer-heading:#e4e6eb;
  --footer-link:#b0b8c4;
  --footer-muted:#7a8594;
  --footer-divider:#1e2d3d;

  --subscribe-bg:linear-gradient(90deg,#0a1420,#0d1b2e);
  --event-date-border:#1e2d3d;
  --quote-bg:#111b27;
  --feature-overlay:linear-gradient(90deg,rgba(8,14,24,.88),rgba(8,14,24,.25));
}

/* LIGHT THEME */
[data-theme="light"]{
  --navy:#1a3a5c;
  --navy-2:#234b73;
  --navy-3:#2d5d8a;
  --ink:#1a1a2e;
  --muted:#6b7280;
  --paper:#f9fafb;
  --white:#ffffff;
  --line:#e5e7eb;

  --bg-page:#ffffff;
  --bg-section:#f3f4f6;
  --bg-card:#ffffff;
  --bg-input:#e2e8f0;
  --bg-input-focus:#cbd5e1;
  --bg-toast:#1a3a5c;

  --text-primary:#1a1a2e;
  --text-secondary:#4b5563;
  --text-muted:#9ca3af;
  --text-on-dark:#fff;
  --text-on-dark-secondary:#cbd5e1;
  --text-on-dark-muted:#94a3b8;

  --border-color:#e5e7eb;
  --border-light:#f3f4f6;
  --border-input:#d1d5db;

  --card-shadow:0 2px 8px rgba(0,0,0,.06);
  --card-shadow-hover:0 4px 12px rgba(0,0,0,.1);

  --footer-bg:#1a3a5c;
  --footer-text:#cbd5e1;
  --footer-heading:#ffffff;
  --footer-link:#cbd5e1;
  --footer-muted:#94a3b8;
  --footer-divider:#234b73;

  --subscribe-bg:linear-gradient(90deg,#1a3a5c,#234b73);
  --event-date-border:#e5e7eb;
  --quote-bg:#f3f4f6;
  --feature-overlay:linear-gradient(90deg,rgba(26,58,92,.85),rgba(26,58,92,.2));
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:var(--sans);color:var(--ink);background:var(--paper)}
button,input{font:inherit}
button{cursor:pointer}
a{text-decoration: none;}
img{max-width:100%;display:block}
.sidebar{
  position:fixed;left:0;top:0;bottom:0;width:var(--sidebar-w);
  background:linear-gradient(180deg,#021a2b 0%,#001627 100%);
  color:#fff;z-index:50;padding:20px 12px;display:flex;flex-direction:column;
}
.brand{height:83px;display:flex;align-items:flex-start;justify-content:center;margin-bottom:16px}
.brand img{width:100px;height:76px;object-fit:cover;object-position:center;border-radius:8px}
.sidebar nav{display:flex;flex-direction:column;gap:7px}
.nav-link,.sidebar-subscribe{
  border:0;background:transparent;color:#fff;width:100%;text-align:left;
  border-radius:4px;padding:10px 9px;font-size:13px;display:flex;align-items:center;gap:10px;
  transition:.2s;
}
.nav-link i,.sidebar-subscribe i{width:14px;text-align:center;font-size:12px}
.nav-link.active,.nav-link:hover{background:#17364c;color:#f1c45e}
.sidebar-subscribe{margin-top:34px}
.sidebar-subscribe:hover{background:#17364c;color:#f1c45e}
.main{margin-left:var(--sidebar-w);min-height:100vh}
.page{min-height:100vh;background:var(--bg-page);color:var(--text-primary)}
.home-hero{
  min-height:330px;position:relative;
  background-size:cover;background-position:center;
  color:var(--text-on-dark);overflow:hidden;
}
.topbar{height:70px;display:flex;justify-content:flex-end;align-items:center;padding:0 24px;gap:10px}
.search{height:27px;width:147px;border-radius:4px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.18);color:var(--text-on-dark);padding:0 8px;font-size:9px;outline:none}
.search::placeholder{color:var(--text-on-dark)}
.gold-btn,.outline-btn{
  border:0;border-radius:4px;padding:8px 15px;font-size:9px;font-weight:600;
}
.gold-btn{background:var(--gold);color:var(--text-on-dark)}
.gold-btn:hover{background:var(--gold-2)}
.outline-btn{background:transparent;color:var(--text-on-dark);border:1px solid rgba(255,255,255,.8)}
.hero-copy{margin-left:42px;margin-top:0;width:450px}
.hero-copy h1{font:600 32px/1.05 var(--serif);margin:0 0 13px; color: var(--text-on-dark);}
.hero-copy p{font-size:13px;line-height:1.55;margin:0 0 15px;color:var(--text-on-dark-secondary)}
.hero-actions{display:flex;gap:10px}
.content{padding:22px 30px 0;background:var(--bg-page)}
.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.section-title h2{font:600 16px var(--serif);margin:0}
.section-link{font-size:10px;color:var(--navy);font-weight:600}
.feature-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:13px}
.feature-card{height:270px;border-radius:4px;overflow:hidden;position:relative;background:var(--navy);color:var(--text-on-dark)}
.feature-card img{width:100%;height:100%;object-fit:cover;opacity:.72}
.feature-overlay{position:absolute;inset:0;padding:44px 18px 15px;background:var(--feature-overlay)}
.feature-overlay h3{font:500 24px/1.15 var(--serif);margin:0 0 13px;max-width:280px; color: var(--text-on-dark);}
.feature-overlay p{font-size:12px;line-height:1.45;max-width:330px;margin:0 0 15px}
.read-more{font-size:12px;color:var(--gold);font-weight:600}
.read-more i{margin-left:6px}
.mini-list{display:flex;flex-direction:column;gap:7px}
.mini-card{height:63px;display:grid;grid-template-columns:66px 1fr;gap:10px;align-items:center;padding:5px 7px;background:var(--bg-card);border:1px solid var(--border-light);box-shadow:var(--card-shadow)}
.mini-card img{height:54px;width:66px;object-fit:cover}
.eyebrow{font-size:7px;text-transform:uppercase;letter-spacing:.5px;color:var(--gold);margin-bottom:3px}
.mini-card h4{font:600 13px/1.2 var(--serif);margin:0;color:var(--text-primary)}
.date{font-size:10px;color:var(--text-muted);margin-top:4px}
.latest{margin-top:23px}
.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.article-card{border:1px solid var(--border-light);background:var(--bg-card);box-shadow:var(--card-shadow);overflow:hidden}
.article-card img{width:100%;height:150px;object-fit:cover}
.article-card .body{padding:9px}
.article-card h3{font:600 14px/1.25 var(--serif);margin:2px 0 8px;color:var(--text-primary)}
.article-card .read{font-size:10px;font-weight:600;color:var(--gold)}
.events-preview{margin-top:24px;padding-bottom:17px}
.events-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.event-card{border:1px solid var(--border-light);padding:11px 10px;display:grid;grid-template-columns:44px 1fr;gap:9px;min-height:84px;background:var(--bg-card)}
.event-date{border-right:1px solid var(--event-date-border)}
.event-date .month{font-size:7px;color:var(--gold);font-weight:700}
.event-date .day{font:600 18px var(--serif);color:var(--text-primary)}
.event-date .year{font-size:7px;color:var(--text-muted)}
.event-card h4{font:600 14px/1.25 var(--serif);margin:0 0 5px;color:var(--text-primary)}
.event-meta{font-size:10px;color:var(--text-muted);line-height:1.7}
.register{font-size:10px;color:var(--gold);margin-top:5px;font-weight:600}
.subscribe-bar{
  background:var(--subscribe-bg);color:var(--text-on-dark);padding:16px 26px;
  display:flex;align-items:center;gap:12px
}
.subscribe-icon{width:30px;height:30px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold)}
.subscribe-copy{flex:1}.subscribe-copy h4{font:500 13px var(--serif);margin:0 0 3px;color:var(--text-on-dark)}.subscribe-copy p{font-size:7px;color:var(--text-on-dark-secondary);margin:0}
.subscribe-form{display:flex;width:230px}.subscribe-form input{height:28px;border:0;padding:0 9px;font-size:8px;flex:1;background:var(--bg-input);color:var(--text-on-dark)}.subscribe-form button{width:75px;border:0;background:var(--gold);color:var(--text-on-dark);font-size:8px}

.inner-page{background:var(--bg-page);min-height:100vh;padding:38px 42px}
.header-content{background:var(--navy);margin:-38px -42px 28px;padding:28px 42px}
.header-content h1{font:600 25px var(--serif);margin:0 0 5px;color:var(--text-on-dark)}
.header-content p{font-size:9px;color:var(--text-on-dark-secondary);margin:0;max-width:350px}
.header-content .inner-search{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:var(--text-on-dark)}
.header-content .inner-search::placeholder{color:var(--text-on-dark-secondary)}
.header-content .gold-btn{background:var(--gold);color:var(--text-on-dark)}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}
.page-head h1{font:600 25px var(--serif);margin:0 0 5px;color:var(--text-primary)}
.page-head p{font-size:9px;color:var(--text-muted);margin:0;max-width:350px}
.inner-search{width:150px;height:28px;border:1px solid var(--border-input);padding:0 8px;font-size:8px;background:var(--bg-card);color:var(--text-primary)}
.tabs{display:flex;gap:28px;border-bottom:1px solid var(--border-color);margin-bottom:20px}
.tab{background:none;border:0;padding:0 0 9px;font-size:8px;color:var(--text-muted);position:relative;cursor:pointer;transition:.2s}
.tab:hover{color:var(--gold)}.tab.active{color:var(--text-primary);font-weight:700}.tab.active:after{content:"";height:2px;background:var(--gold);position:absolute;left:0;right:0;bottom:-1px}
.insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.insight-card{border:1px solid var(--border-light);background:var(--bg-card);min-height:177px}
.insight-card img{height:150px;width:100%;object-fit:cover}
.insight-card .body{padding:9px}
.insight-card h3{font:600 14px/1.25 var(--serif);margin:0 0 8px;color:var(--text-primary)}
.insight-card p{font-size:10px;color:var(--text-muted);margin:0}
.pagination{display:flex;justify-content:center;gap:18px;margin-top:28px;font-size:8px}
.pagination span{padding:4px}.pagination .active{background:var(--navy);color:var(--text-on-dark);border-radius:2px}
.article-layout{display:grid;grid-template-columns:1fr 150px;gap:22px}
.article-main .back{font-size:8px;color:var(--gold);margin-bottom:17px;display:inline-block}
.article-main .article-image{width:100%;height:320px;object-fit:cover}
.article-main .eyebrow{margin-top:17px}
.article-main h1{font:600 30px/1.15 var(--serif);margin:5px 0 9px;color:var(--text-primary)}
.article-main .article-meta{font-size:11px;color:var(--text-muted);margin-bottom:17px}
.article-main p{font:15px/1.7 var(--serif);color:var(--text-secondary)}
.quote{background:var(--quote-bg);padding:13px 16px;font:15px/1.5 var(--serif);margin:17px 0;color:var(--text-primary)}
.related h3{font:600 12px var(--serif);margin:35px 0 12px;color:var(--text-primary)}
.related-item{display:flex;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border-light);text-decoration:none;color:inherit;border-radius:4px;overflow:hidden;transition:.2s}
.related-item:hover{box-shadow:var(--card-shadow-hover);transform:translateY(-2px)}
.related-item:last-child{border-bottom:none}
.related-item img{width:50px;height:70px;object-fit:cover;border-radius:4px}
.related-item h4{font:600 12px/1.3 var(--serif);margin: 0px 4px;color:var(--text-primary)}
.related-item p{font-size:9px;color:var(--text-muted);margin:0px 4px}

.events-page{width:100%}
.events-page .event-card{min-height:100px}
.event-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.event-cta{margin:30px -42px -38px;padding:18px 28px;background:var(--subscribe-bg);color:var(--text-on-dark);display:flex;align-items:center;gap:13px}
.event-cta .subscribe-form{margin-left:auto}

.newsletters-page{display:grid;grid-template-columns:1fr 280px;gap:35px}
.newsletter-box{max-width:380px}
.newsletter-box h1{font:600 25px var(--serif);margin:0 0 10px;color:var(--text-primary)}
.newsletter-box p{font-size:9px;line-height:1.5;color:var(--text-muted)}
.newsletter-form{display:flex;border:1px solid var(--border-input);margin-top:17px}
.newsletter-form input{border:0;height:32px;padding:0 10px;font-size:8px;flex:1;outline:0;background:var(--bg-card);color:var(--text-primary)}.newsletter-form button{border:0;background:var(--gold);color:var(--text-on-dark);width:74px;font-size:8px}
.recent-news{margin-top:35px}.recent-news h3{font:600 12px var(--serif);color:var(--text-primary)}.news-row{padding:9px 0;border-bottom:1px solid var(--border-light);font-size:8px;display:flex;justify-content:space-between;color:var(--text-primary)}.news-row span{color:var(--text-muted);font-size:7px}
.phone-wrap{display:flex;justify-content:center;align-items:center}.phone{width:155px;height:330px;border:6px solid var(--navy);border-radius:23px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.18);background:var(--bg-card)}.phone-screen{height:100%;background:var(--bg-card)}.phone-hero{height:164px;background-image:linear-gradient(rgba(0,24,40,.25),rgba(0,24,40,.55)),url("../assets/hero-city.jpg");background-size:cover;padding:17px 12px;color:var(--text-on-dark)}.phone-brand{font:500 13px var(--serif);letter-spacing:1px}.phone-hero h2{font:500 17px/1.05 var(--serif);margin-top:34px}.phone-hero p{font-size:6px;line-height:1.4}.phone-actions button{font-size:6px;padding:5px 7px;border:1px solid var(--text-on-dark);background:transparent;color:var(--text-on-dark)}.phone-section{padding:12px}.phone-section h3{font:600 10px var(--serif);color:var(--text-primary)}.phone-card{height:90px;background:url("../assets/feature-world.jpg") center/cover;border-radius:4px;color:var(--text-on-dark);padding:10px;display:flex;align-items:flex-end;font:500 9px var(--serif)}

.about-page{max-width:760px}.about-page h1{font:600 26px var(--serif);color:var(--text-primary)}.about-page p{font-size:10px;line-height:1.7;color:var(--text-secondary);max-width:620px}.about-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}.about-card{border:1px solid var(--border-light);padding:18px;background:var(--bg-card)}.about-card h3{font:600 13px var(--serif);margin:0 0 8px;color:var(--text-primary)}.about-card p{font-size:8px;color:var(--text-secondary)}

.toast{position:fixed;right:20px;bottom:20px;background:var(--bg-toast);color:var(--text-on-dark);padding:10px 14px;border-radius:4px;font-size:9px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s;z-index:100}.toast.show{opacity:1;transform:none}

@media(max-width:900px){
  :root{--sidebar-w:84px}
  .sidebar{padding:16px 8px}.brand img{width:64px}.nav-link,.sidebar-subscribe{justify-content:center}.nav-link span,.sidebar-subscribe span{display:none}
  .hero-copy{margin-left:30px}.content{padding:22px}.inner-page{padding:30px 25px}.header-content{margin:-30px -25px 22px;padding:24px 25px}
}
@media(max-width:680px){
  :root{--sidebar-w:0px}
  .sidebar{position:fixed;left:0;right:0;bottom:auto;width:100%;height:60px;display:flex;flex-direction:row;padding:8px 12px;background:#021a2b}
  .brand{height:auto;margin:0 auto 0 0}.brand img{width:58px;height:43px}.sidebar nav{flex-direction:row;gap:3px}.nav-link{width:34px;height:42px;padding:5px;justify-content:center}.nav-link i{font-size:13px}.sidebar-subscribe{display:none}
  .main{margin-left:0;padding-top:60px}.header-content{margin:-15px -15px 22px;padding:20px 15px}
  .home-hero{min-height:500px !important;background-position:57% center !important}.topbar{height:60px;padding:0 16px}
  .home-hero > div{grid-template-columns:1fr !important;padding:40px 20px !important;}
  .home-hero > div > div:last-child{display:none !important;}
  .content{padding:22px 15px}.feature-grid,.latest-grid,.events-grid,.insight-grid,.event-list-grid,.about-columns,.newsletters-page,.article-layout{grid-template-columns:1fr}
  .feature-card{height:230px}.mini-card{height:72px}.mini-card img{height:62px}
  .events-grid{gap:10px}.subscribe-bar{padding:15px;flex-wrap:wrap}.subscribe-form{width:100%}
  .page-head{gap:15px}.tabs{gap:18px;overflow:auto}
  .article-layout{display:block}.related{margin-top:30px}.article-main .article-image{height:190px}
  .event-cta{margin:25px -25px -30px;flex-wrap:wrap}.event-cta .subscribe-form{margin-left:0}
  .newsletters-page{gap:20px}.phone-wrap{justify-content:flex-start}
  .theme-toggle{position:relative;margin-left:auto}
  .theme-toggle-btn{padding:6px 10px;font-size:11px}
  .theme-toggle-btn #themeLabel{display:none}
  .theme-toggle-btn .fa-chevron-up{display:none}
  .theme-dropdown{position:absolute;bottom:calc(100% + 8px);left:auto;right:0;min-width:120px}
}

/* --- Formulário de subscrição melhorado --- */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 420px;
    max-width: 480px;
}

.subscribe-form .form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.subscribe-form .form-group {
    flex: 1;
    min-width: 120px;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"],
.subscribe-form input[type="tel"],
.subscribe-form select {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--bg-input);
    color: var(--text-on-dark);
    outline: none;
    transition: 0.3s;
}

.subscribe-form input::placeholder {
    color: var(--text-on-dark-muted);
}

.subscribe-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238aa3bc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.subscribe-form select option {
    background: var(--bg-input);
    color: var(--text-on-dark);
}

.subscribe-form input:focus,
.subscribe-form select:focus {
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 2px var(--gold);
}

.subscribe-form .form-row-checkbox {
    align-items: center;
    padding: 4px 0;
}

.subscribe-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-on-dark-secondary);
    cursor: pointer;
}

.subscribe-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.subscribe-form .checkbox-label a {
    color: var(--gold);
    text-decoration: none;
}

.subscribe-form .checkbox-label a:hover {
    text-decoration: underline;
}

.subscribe-form button[type="submit"] {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscribe-form button[type="submit"]:hover {
    background: var(--gold-2);
    transform: scale(1.02);
}

.subscribe-form button[type="submit"] i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.subscribe-form button[type="submit"]:hover i {
    transform: translateX(4px);
}

/* Responsividade do formulário */
@media (max-width: 700px) {
    .subscribe-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px 18px;
    }

    .subscribe-copy br {
        display: none;
    }

    .subscribe-form {
        max-width: 100%;
    }

    .subscribe-form .form-row {
        flex-direction: column;
    }

    .subscribe-form .form-group {
        min-width: 100%;
    }

    .subscribe-form button[type="submit"] {
        align-self: center;
        width: 100%;
        justify-content: center;
    }

    .subscribe-form .form-row-checkbox {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h5::after {
        margin: 8px auto 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom .legal-links a {
        margin: 0 8px;
    }
}

/* --- Formulário de subscrição melhorado --- */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 420px;
    max-width: 480px;
}

.subscribe-form .form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.subscribe-form .form-group {
    flex: 1;
    min-width: 120px;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"],
.subscribe-form input[type="tel"],
.subscribe-form select {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--bg-input);
    color: var(--text-on-dark);
    outline: none;
    transition: 0.3s;
}

.subscribe-form input::placeholder {
    color: var(--text-on-dark-muted);
}

.subscribe-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238aa3bc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.subscribe-form select option {
    background: var(--bg-input);
    color: var(--text-on-dark);
}

.subscribe-form input:focus,
.subscribe-form select:focus {
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 2px var(--gold);
}

.subscribe-form .form-row-checkbox {
    align-items: center;
    padding: 4px 0;
}

.subscribe-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-on-dark-secondary);
    cursor: pointer;
}

.subscribe-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.subscribe-form .checkbox-label a {
    color: var(--gold);
    text-decoration: none;
}

.subscribe-form .checkbox-label a:hover {
    text-decoration: underline;
}

.subscribe-form button[type="submit"] {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscribe-form button[type="submit"]:hover {
    background: var(--gold-2);
    transform: scale(1.02);
}

.subscribe-form button[type="submit"] i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.subscribe-form button[type="submit"]:hover i {
    transform: translateX(4px);
}

/* Responsividade do formulário */
@media (max-width: 700px) {
    .subscribe-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px 18px;
    }

    .subscribe-copy br {
        display: none;
    }

    .subscribe-form {
        max-width: 100%;
    }

    .subscribe-form .form-row {
        flex-direction: column;
    }

    .subscribe-form .form-group {
        min-width: 100%;
    }

    .subscribe-form button[type="submit"] {
        align-self: center;
        width: 100%;
        justify-content: center;
    }

    .subscribe-form .form-row-checkbox {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h5::after {
        margin: 8px auto 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom .legal-links a {
        margin: 0 8px;
    }
}

/* ===== FOOTER PERSONALIZADO ===== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 30px 20px;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Barra de subscrição */
.footer-subscribe-bar {
    background: var(--footer-divider);
    padding: 24px 28px;
    border-radius: 6px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-subscribe-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-subscribe-copy {
    flex: 1;
    min-width: 180px;
}

.footer-subscribe-copy h4 {
    font: 500 15px var(--serif, Georgia, serif);
    margin: 0 0 4px;
    color: var(--footer-heading);
}

.footer-subscribe-copy p {
    font-size: 11px;
    color: var(--footer-link);
    margin: 0;
    line-height: 1.5;
}

/* Formulário */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 380px;
    max-width: 460px;
}

.footer-form-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-form-group {
    flex: 1;
    min-width: 100px;
}

.footer-form input[type="text"],
.footer-form input[type="email"],
.footer-form input[type="tel"],
.footer-form select {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    background: var(--bg-input);
    color: var(--text-on-dark);
    outline: none;
    transition: 0.3s;
    height: 36px;
}

.footer-form input::placeholder {
    color: var(--text-on-dark-muted);
}

.footer-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238aa3bc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.footer-form select option {
    background: var(--bg-input);
    color: var(--text-on-dark);
}

.footer-form input:focus,
.footer-form select:focus {
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 2px var(--gold);
}

.footer-form-checkbox {
    align-items: center;
    padding: 2px 0;
}

.footer-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--footer-link);
    cursor: pointer;
}

.footer-checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.footer-checkbox-label a {
    color: var(--gold);
    text-decoration: none;
}

.footer-checkbox-label a:hover {
    text-decoration: underline;
}

.footer-submit-btn {
    background: var(--gold);
    color: var(--text-on-dark);
    text-align: center;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-submit-btn:hover {
    background: var(--gold);
}

.footer-submit-btn i {
    font-size: 10px;
    transition: 0.3s;
}

.footer-submit-btn:hover i {
    transform: translateX(4px);
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding: 20px 0 30px;
    border-bottom: 1px solid var(--footer-divider);
}

.footer-col h5 {
    color: var(--footer-heading);
    font: 600 13px var(--serif, Georgia, serif);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
}

.footer-col h5::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    margin-top: 6px;
}

.footer-col address p {
    font-style: normal;
    font-size: 11px;
    line-height: 1.8;
    color: var(--footer-link);
    margin: 0;
}

.footer-col address i {
    width: 20px;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 11px;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a i {
    font-size: 8px;
    color: var(--gold);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

/* Redes sociais */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--footer-divider);
    color: var(--footer-text);
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-site-link {
    margin-top: 14px;
    font-size: 11px;
}

.footer-site-link i {
    color: var(--gold);
    margin-right: 6px;
}

.footer-site-link a {
    color: var(--footer-link);
    text-decoration: none;
}

.footer-site-link a:hover {
    color: var(--gold);
}

.footer-hours {
    font-size: 10px;
    color: var(--footer-muted);
    margin-top: 4px;
}

.footer-hours i {
    margin-right: 6px;
}

/* Rodapé inferior */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    font-size: 10px;
    color: var(--footer-muted);
}

.footer-bottom a {
    color: var(--footer-link);
    text-decoration: none;
    margin-left: 14px;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* Responsividade */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding: 30px 16px 16px;
    }

    .footer-subscribe-bar {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .footer-subscribe-copy br {
        display: none;
    }

    .footer-form {
        max-width: 100%;
        width: 100%;
    }

    .footer-form-row {
        flex-direction: column;
    }

    .footer-form-group {
        min-width: 100%;
    }

    .footer-submit-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
    }

    .footer-form-checkbox {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h5::after {
        margin: 6px auto 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom .legal-links a {
        margin: 0 8px;
    }
}

/* ===== COMMENT FORM ===== */
.comment-form{margin-top:25px;padding-top:20px;border-top:1px solid var(--border-light)}
.comment-form h3{font:600 14px var(--serif);margin-bottom:15px}
.comment-form .form-group{margin-bottom:12px}
.comment-form label{display:block;font-size:10px;font-weight:600;color:var(--text-secondary);margin-bottom:4px}
.comment-form input,.comment-form textarea{width:100%;padding:10px 12px;border:1px solid var(--border-input);border-radius:4px;font-size:11px;transition:.2s}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 2px rgba(201,155,59,.15)}
.comment-form textarea{min-height:80px;resize:vertical}
.comment-form .form-row{display:flex;gap:12px}
.comment-form .form-row .form-group{flex:1}
.comment-submit{background:var(--gold);color:var(--text-on-dark);border:none;padding:10px 24px;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer;transition:.2s}
.comment-submit:hover{background:var(--gold-2)}

/* ===== SHARE ACTIONS ===== */
.share-actions{padding-top:15px;margin-top:20px;border-top:1px solid var(--border-light)}
.share-actions .share-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 14px;border-radius:20px;font-size:10px;font-weight:500;text-decoration:none;transition:.2s;border:1px solid var(--border-input);background:var(--bg-card);color:var(--text-secondary)}
.share-actions .share-btn:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(0,0,0,.1)}
.share-actions .share-btn.whatsapp{color:#25d366;border-color:#25d366}.share-actions .share-btn.whatsapp:hover{background:#25d366;color:#fff}
.share-actions .share-btn.facebook{color:#1877f2;border-color:#1877f2}.share-actions .share-btn.facebook:hover{background:#1877f2;color:#fff}
.share-actions .share-btn.copy-link{color:var(--text-muted);border-color:var(--border-input)}.share-actions .share-btn.copy-link:hover{background:var(--bg-section)}

/* ===== PAGINATION ===== */
.pagination-links{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:28px;padding:15px 0}
.pagination-links a,.pagination-links span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 10px;border:1px solid var(--border-input);border-radius:4px;font-size:11px;color:var(--text-secondary);text-decoration:none;transition:.2s}
.pagination-links a:hover{border-color:var(--gold);color:var(--gold)}
.pagination-links .active{background:var(--gold);color:var(--text-on-dark);border-color:var(--gold)}
.pagination-links .disabled{opacity:.4;pointer-events:none}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float{
  position:fixed;bottom:24px;right:24px;z-index:99;
  display:flex;align-items:center;gap:8px;
  background:#25d366;color:var(--text-on-dark);
  padding:12px 18px;border-radius:50px;
  box-shadow:0 4px 15px rgba(37,211,102,.4);
  text-decoration:none;font-size:13px;font-weight:600;
  transition:.3s;
}
.whatsapp-float:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(37,211,102,.5);background:#20ba5a}
.whatsapp-float i{font-size:22px}
.whatsapp-label{font-size:11px;white-space:nowrap}
@media(max-width:680px){
  .whatsapp-float{bottom:16px;right:16px;padding:10px 14px}
  .whatsapp-float i{font-size:20px}
  .whatsapp-label{display:none}
}

/* ===== THEME SYSTEM ===== */
.theme-toggle{
  position:relative;
}
.theme-toggle-btn{
  display:flex;align-items:center;justify-content:center;gap:6px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.7);padding:8px 12px;border-radius:6px;
  cursor:pointer;font-size:12px;transition:.2s;width:100%;
}
.theme-toggle-btn:hover{background:rgba(255,255,255,.15);color:var(--text-on-dark)}
.theme-toggle-btn i{font-size:14px}
.theme-dropdown{
  position:absolute;bottom:calc(100% + 8px);left:0;right:0;
  background:var(--bg-card);border:1px solid var(--border-color);border-radius:8px;
  box-shadow:0 8px 30px rgba(0,0,0,.2);z-index:200;
  display:none;overflow:hidden;
}
.theme-dropdown.show{display:block}
.theme-option{
  display:flex;align-items:center;gap:10px;
  padding:10px 14px;cursor:pointer;transition:.2s;
  font-size:12px;color:var(--text-primary);
}
.theme-option:hover{background:var(--bg-section)}
.theme-option.active{background:rgba(201,155,59,.1);color:var(--gold)}
.theme-option i{font-size:14px;width:20px;text-align:center}
.theme-option .dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--border-input);flex-shrink:0}
.theme-option[data-value="default"] .dot{background:linear-gradient(135deg,#f8f8f6,#fff)}
.theme-option[data-value="light"] .dot{background:linear-gradient(135deg,#f9fafb,#e5e7eb)}
.theme-option[data-value="dark"] .dot{background:linear-gradient(135deg,#0f1724,#1a2332)}
[data-theme="dark"] .theme-dropdown{background:#1a2332;border-color:#2d3a4a}
[data-theme="dark"] .theme-option{color:#b0b8c4}
[data-theme="dark"] .theme-option:hover{background:#243044}

/* Theme-aware elements */
.page{background:var(--bg-page)}
.page{color:var(--text-primary)}
.content{background:var(--bg-page)}
.feature-card{background:var(--navy)}
.mini-card{background:var(--bg-card);border-color:var(--border-light)}
.article-card{background:var(--bg-card);border-color:var(--border-light)}
.event-card{border-color:var(--border-light);background:var(--bg-card)}
.insight-card{background:var(--bg-card);border-color:var(--border-light)}
.section-title h2{color:var(--text-primary)}
.article-card h3,.insight-card h3{color:var(--text-primary)}
.mini-card h4{color:var(--text-primary)}
.event-card h4{color:var(--text-primary)}
.date{color:var(--text-muted)}
.eyebrow{color:var(--gold)}
.comment-form label{color:var(--text-secondary)}
.comment-form input,.comment-form textarea{background:var(--bg-card);border-color:var(--border-light);color:var(--text-primary)}
.share-actions .share-btn{background:var(--bg-card);border-color:var(--border-light);color:var(--text-secondary)}
.pagination-links a,.pagination-links span{border-color:var(--border-light);color:var(--text-secondary)}
.inner-page{background:var(--bg-page)}
.header-content{background:var(--navy)}
.header-content h1{color:var(--text-on-dark)}
.article-body{color:var(--text-primary)}
.article-main .back{color:var(--gold)}
.related h3{color:var(--text-primary)}
.related-item{border-color:var(--border-light)}
.related-item h4{color:var(--text-primary)}
.related-item p{color:var(--text-muted)}
.back{color:var(--gold)}
.comment-author{color:var(--text-primary)}
.comment-body{color:var(--text-secondary)}
.comments-empty{color:var(--text-muted)}
