:root {
  --wine-950: #3b0010;
  --wine-900: #560016;
  --wine-800: #720022;
  --wine-700: #8b0b2e;
  --orange: #dc4b08;
  --orange-dark: #bd3607;
  --gold: #daa32d;
  --gold-light: #f1cf76;
  --cream: #fffaf1;
  --cream-2: #f8f0e4;
  --ink: #191d25;
  --muted: #5d6068;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 14px 42px rgba(75, 20, 15, .12);
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--wine-950); font-weight: 800; line-height: 1.12; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 90px 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--orange); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::after { content: ""; width: 50px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.section-title { max-width: 720px; margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.25rem); }
.lead { color: var(--muted); font-size: 1.08rem; }
.btn-cbc { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 28px; border: 1px solid transparent; border-radius: 14px; background: linear-gradient(135deg, var(--wine-800), var(--wine-950)); color: #fff; font-size: .88rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(91, 0, 24, .2); transition: .2s ease; }
.btn-cbc:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 0, 24, .28); }
.btn-cbc-outline { background: transparent; color: var(--wine-800); border-color: var(--wine-800); box-shadow: none; }
.btn-cbc-outline:hover { background: var(--wine-800); color: #fff; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); box-shadow: 0 3px 20px rgba(64,0,18,.08); }
.site-header .container { width: min(1360px, calc(100% - 32px)); }
.header-row { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 215px; flex: 0 0 215px; display: block; }
.brand img { display: block; width: 100%; }
.main-nav { order: 1; flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.main-nav > a, .nav-drop > button { padding: 12px 7px; border: 0; background: transparent; color: #171920; font: 600 .8rem var(--font); white-space: nowrap; cursor: pointer; }
.main-nav > a:hover, .nav-drop > button:hover { color: var(--wine-800); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: "⌄"; margin-left: 7px; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 230px; margin: 0; padding: 10px; list-style: none; background: #fff; border-top: 3px solid var(--orange); border-radius: 5px 5px 14px 14px; box-shadow: var(--shadow); }
.nav-menu a { display: block; padding: 9px 11px; border-radius: 7px; font-size: .85rem; }
.nav-menu a:hover { background: var(--cream-2); color: var(--wine-800); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.header-cta { margin-left: 10px; white-space: nowrap; }
.main-nav > a.header-cta { padding: 14px 22px; background: linear-gradient(135deg, var(--wine-800), var(--wine-950)); color: #fff; }
.main-nav > a.header-cta:hover { color: #fff; background: linear-gradient(135deg, var(--wine-700), var(--wine-900)); }
.header-quick-actions { order: 2; display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 1px solid var(--wine-800); border-radius: 11px; background: linear-gradient(135deg, var(--wine-800), var(--wine-950)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transition: .2s ease; }
.header-action:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 7px 16px rgba(91, 0, 24, .2); }
.header-action-outline { background: #fff; color: var(--wine-800); }
.header-action-outline:hover { background: var(--wine-800); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid #ead8d1; border-radius: 10px; background: #fff; color: var(--wine-800); font-size: 1.5rem; }

/* Home */
.hero-cbc { position: relative; min-height: 670px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 10% 18%, rgba(218,163,45,.08), transparent 24%), linear-gradient(120deg, #fffdf9, #fff8ed); }
.hero-cbc::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -72px; height: 135px; border-radius: 50% 50% 0 0 / 55% 55% 0 0; background: linear-gradient(100deg, var(--wine-950), var(--wine-800) 55%, var(--orange)); border-top: 6px solid var(--gold); z-index: 4; }
.hero-photo { position: absolute; inset: 0 0 0 47%; overflow: hidden; border-bottom-left-radius: 42% 20%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fffaf1 0, transparent 24%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 3; width: 52%; padding: 70px 0 130px; }
.hero-title { margin-bottom: 18px; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.045em; }
.hero-title strong { color: var(--orange); }
.hero-subtitle { max-width: 540px; margin-bottom: 18px; font-size: clamp(1.8rem, 3.4vw, 3.4rem); color: var(--wine-800); }
.hero-copy { max-width: 530px; font-size: 1.12rem; }
.event-lines { display: grid; gap: 8px; margin: 25px 0; color: var(--wine-800); font-size: 1.1rem; }
.event-line { display: flex; align-items: center; gap: 12px; }
.event-line svg { color: var(--orange); flex: 0 0 auto; }
.event-line strong { font-weight: 800; }
.info-strip { position: relative; z-index: 7; margin-top: -54px; padding-bottom: 50px; }
.info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 16px; background: rgba(255,255,255,.95); border-radius: 22px; box-shadow: var(--shadow); }
.info-card { min-height: 116px; display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid #f1e7da; border-radius: 18px; }
.info-icon { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--orange), var(--wine-800)); }
.info-card:nth-child(3) .info-icon { background: linear-gradient(145deg, var(--gold), #c88b14); }
.info-card small { display: block; margin-bottom: 4px; color: var(--orange-dark); font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.info-card strong { color: var(--ink); font-size: .96rem; line-height: 1.35; }
.about-grid, .venue-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 65px; align-items: center; }
.about-copy p { max-width: 650px; }
.about-visual { position: relative; min-height: 460px; padding: 0 90px 34px 0; }
.about-visual img { width: 100%; height: 430px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.value-card { position: absolute; right: 0; bottom: 0; width: 270px; padding: 30px; color: #fff; border: 2px solid var(--gold); border-radius: 24px; background: linear-gradient(145deg, var(--wine-800), var(--wine-950)); box-shadow: var(--shadow); }
.value-item { padding: 13px 0; border-bottom: 1px solid rgba(241,207,118,.38); font-size: .9rem; font-weight: 700; }
.value-item:last-child { border: 0; }
.themes { background: #fff; }
.themes-head { text-align: center; }
.themes-head .eyebrow { justify-content: center; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 36px; }
.theme-card { position: relative; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px 22px; text-align: center; background: linear-gradient(145deg,#fff,#fffaf4); border: 1px solid #f0e4d8; border-radius: 18px; box-shadow: 0 8px 24px rgba(76,25,10,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.theme-card:hover { color: inherit; transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(76,25,10,.12); }
.theme-card svg { margin-bottom: 17px; color: var(--orange); }
.theme-card strong { color: #252a35; font-size: .88rem; line-height: 1.4; }
.theme-number { position: absolute; top: 12px; right: 15px; color: var(--wine-800); font-size: .7rem; font-weight: 800; letter-spacing: .08em; opacity: .65; }
.themes-action { margin-top: 34px; text-align: center; }
.venue { background: radial-gradient(circle at 95% 15%, rgba(218,163,45,.13), transparent 23%), var(--cream); }
.venue-photo { position: relative; }
.venue-photo img { width: 100%; height: 430px; object-fit: cover; border-radius: 50px 50px 50px 12px; box-shadow: var(--shadow); }
.venue-list { display: grid; gap: 18px; margin-top: 26px; }
.venue-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.venue-item i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--wine-800); color: #fff; font-style: normal; }
.venue-item strong { display: block; color: var(--ink); }
.venue-item p { margin: 2px 0 0; font-size: .9rem; }
.sponsors { padding-top: 70px; background: #fff; text-align: center; }
.sponsor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 32px; }
.sponsor-box { min-height: 120px; display: grid; place-items: center; padding: 15px; border: 1px solid #e8ddd4; border-radius: 14px; background: linear-gradient(#fff, #fffaf5); }
.sponsor-box span { color: var(--wine-800); font-weight: 800; }
.sponsor-box small { display: block; color: var(--muted); }

/* Páginas internas e componentes reaproveitados */
.page-hero { padding: 75px 0 58px; background: linear-gradient(120deg, var(--wine-950), var(--wine-800)); color: #fff; border-bottom: 5px solid var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.page-hero .lead, .page-hero p { color: rgba(255,255,255,.82); }
.breadcrumb { margin-bottom: 18px; }
.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item.active { color: rgba(255,255,255,.8); }
.article-single, .contact-page, .blog-list-section, .units-list-section, .clinic-single { padding: 70px 0; }
.article-hero-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 22px; }
.article-content { padding-top: 28px; color: #32353c; }
.article-content h2, .article-content h3 { color: var(--wine-800); }
.article-content a { color: var(--orange-dark); text-decoration: underline; }
.contact-info-card, .unit-card, .help-banner, .sidebar-card { padding: 28px; border: 1px solid #eaded3; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(72,20,10,.07); }
.contact-info-card h3, .contact-info-card p { color: var(--ink); }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #eee2d8; }
.contact-item .icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--wine-800); color: #fff; }
.contact-item strong, .contact-item span, .contact-item a { display: block; }
.form-control { border-color: #dfd2c8; border-radius: 10px; padding: 12px 14px; }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(220,75,8,.12); }
.btn-gold, .btn-outline-gold { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px; border: 1px solid var(--wine-800); background: var(--wine-800); color: #fff; font-weight: 700; }
.blog-grid, .clinics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card, .clinic-card { overflow: hidden; border: 1px solid #eaded3; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(72,20,10,.07); }
.blog-body, .clinic-card-body { padding: 22px; }
.blog-image img, .clinic-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Rodapé */
.footer-cbc { color: rgba(255,255,255,.86); background: radial-gradient(circle at 80% 0, #79072c 0, transparent 32%), linear-gradient(120deg, var(--wine-950), #4d0015); border-top: 5px solid var(--gold); }
.footer-main { display: grid; grid-template-columns: 1.65fr .8fr 1.15fr 1fr; gap: 40px; padding: 65px 0 45px; }
.footer-logo { width: 290px; max-width: 100%; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.94); }
.footer-cbc h2 { color: var(--gold-light); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-cbc ul { margin: 0; padding: 0; list-style: none; }
.footer-cbc li { margin: 7px 0; }
.footer-cbc a:hover { color: var(--gold-light); }
.footer-tagline { margin: 22px 0 0; font-size: .9rem; }
.footer-info li { display: flex; gap: 10px; }
.footer-bottom { padding: 18px 0; text-align: center; font-size: .78rem; border-top: 1px solid rgba(218,163,45,.4); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
.float-whatsapp { position: fixed; z-index: 1090; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease, box-shadow .2s ease; }
.float-whatsapp:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.float-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cookie-box { position: fixed; z-index: 1100; right: 18px; bottom: 18px; max-width: 430px; padding: 17px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: .8rem; }
.cookie-box.hide { display: none; }
.cookie-box button { margin-left: 12px; border: 0; border-radius: 8px; background: var(--wine-800); color: #fff; padding: 7px 12px; }

@media (max-width: 1100px) {
  .header-row { min-height: 92px; }
  .brand { width: 190px; flex-basis: 190px; }
  .header-cta { display: none; }
  .theme-grid { grid-template-columns: repeat(3,1fr); }
  .info-grid { grid-template-columns: repeat(2,1fr); }
  .sponsor-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1450px) {
  .menu-toggle { display: block; }
  .main-nav { order: 0; display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 92px); overflow-y: auto; padding: 18px; background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .header-quick-actions { order: 0; margin-left: 4px; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop > button { width: 100%; text-align: left; }
  .nav-menu { position: static; width: 100%; box-shadow: none; border-top-width: 1px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, 680px); }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px; background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop > button { width: 100%; text-align: left; }
  .nav-menu { position: static; width: 100%; box-shadow: none; border-top-width: 1px; }
  .hero-cbc { min-height: 760px; align-items: end; background: #fffaf1; }
  .hero-photo { inset: 0 0 45% 0; border-radius: 0; }
  .hero-photo::after { background: linear-gradient(0deg, #fffaf1, transparent 55%); }
  .hero-content { width: 100%; padding: 350px 0 130px; }
  .hero-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 2rem; }
  .about-grid, .venue-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
  .blog-grid, .clinics-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .section { padding: 65px 0; }
  .brand { width: 170px; flex-basis: 170px; }
  .header-row { min-height: 0; padding: 10px 0; flex-wrap: wrap; gap: 8px 12px; }
  .header-quick-actions { order: 3; width: 100%; margin-left: 0; }
  .header-action { flex: 1; min-height: 38px; padding: 7px 10px; }
  .main-nav { top: 100%; max-height: calc(100vh - 144px); }
  .hero-content { padding-top: 300px; }
  .hero-title { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.75rem; }
  .info-grid, .theme-grid, .sponsor-grid, .footer-main, .blog-grid, .clinics-grid { grid-template-columns: 1fr; }
  .info-strip { margin-top: -30px; }
  .about-visual { min-height: 410px; padding-right: 28px; }
  .about-visual img { height: 350px; }
  .value-card { width: 245px; padding: 22px; }
  .venue-photo img { height: 300px; border-radius: 30px; }
}
