/* ============ Instituto Avivar – estilos base ============ */
@font-face { font-family: 'Sweet Sans Pro'; src: url('../fonts/SweetSansProRegular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sweet Sans Pro'; src: url('../fonts/SweetSansProMedium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Sweet Sans Pro'; src: url('../fonts/SweetSansProBold.otf') format('opentype'); font-weight: 700; font-display: swap; }

:root {
  --teal-900: #0f2124;
  --teal-800: #183236;
  --teal-600: #29555c;
  --gold: #d3ae5b;
  --gold-dark: #b8923d;
  --pink: #e2498a;
  --soft: #f4f7f7;
  --text: #33444a;
  --radius: 16px;
  --shadow: 0 10px 35px rgba(15, 33, 36, .12);
  --head: 'Sweet Sans Pro', 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.7; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--teal-800); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }
.center { text-align: center; }
.mt { margin-top: 4rem; }
.section { padding: 90px 0; position: relative; }
.bg-soft { background: var(--soft); }
.bg-dark { background: linear-gradient(135deg, var(--teal-900), var(--teal-800) 60%, var(--teal-600)); color: #e9f0f1; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 0; }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; font-weight: 700; letter-spacing: .5px; position: relative; padding-bottom: .5em; margin-bottom: 1em; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--pink)); }
.center .section-title::after, .section-title.center::after { left: 50%; transform: translateX(-50%); }
.section-title.light { color: #fff; }
.section-title.sm { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .82rem; font-weight: 600; color: var(--gold-dark); margin-bottom: .4rem; }
.bg-dark .eyebrow { color: var(--gold); }
.subtitle { font-size: 1.6rem; text-transform: uppercase; color: var(--pink); }
.lead { font-size: 1.12rem; max-width: 780px; margin-inline: auto; }

/* Botões */
.btn { display: inline-block; padding: .9rem 2rem; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s, color .3s; position: relative; overflow: hidden; }
.btn-gold { background: var(--gold); color: var(--teal-900); box-shadow: 0 8px 20px rgba(211, 174, 91, .35); }
.btn-gold:hover { background: var(--pink); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(226, 73, 138, .4); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--teal-800); transform: translateY(-3px); }
.btn-outline-dark { border-color: var(--teal-800); color: var(--teal-800); }
.btn-outline-dark:hover { background: var(--teal-800); color: #fff; }
.link-arrow { font-weight: 600; color: var(--pink); display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow i { transition: transform .3s; }
.link-arrow:hover i { transform: translateX(6px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(15, 33, 36, .55); backdrop-filter: blur(8px); transition: background .4s, box-shadow .4s, transform .4s; }
.site-header.scrolled { background: rgba(15, 33, 36, .96); box-shadow: 0 4px 25px rgba(0, 0, 0, .25); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; transition: min-height .4s; }
.scrolled .header-inner { min-height: 64px; }
.brand img { width: 130px; height: 62px; object-fit: contain; transition: transform .4s; }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
.main-nav { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.main-nav > ul { display: flex; gap: .2rem; }
.main-nav a { color: #fff; font-family: 'Montserrat', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .6px; padding: .6rem .8rem; display: block; position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav li.active > a { color: var(--gold); }
.has-sub { position: relative; }
.has-sub .fa-chevron-down { font-size: .6rem; margin-left: .25rem; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--teal-800); border-radius: 12px; padding: .6rem 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(15px); transition: .3s; border-top: 3px solid var(--gold); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: .6rem 1.2rem; transition: padding .3s, background .3s, color .3s; }
.sub a:hover { background: rgba(255, 255, 255, .08); color: var(--gold); padding-left: 1.7rem; }
.nav-cta { padding: .6rem 1.4rem; font-size: .75rem; }
.header-social { display: flex; gap: .3rem; }
.header-social a { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; border-radius: 50%; font-size: .85rem; transition: .3s; }
.header-social a:hover { background: var(--gold); color: var(--teal-900); transform: translateY(-3px) rotate(360deg); }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 3px; transition: .35s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 33, 36, .92) 0%, rgba(24, 50, 54, .7) 45%, rgba(24, 50, 54, .2) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 80px; }
.hero-title { color: #fff; font-size: clamp(2rem, 5.4vw, 4.2rem); max-width: 860px; font-weight: 700; }
.hero-title .accent { display: block; color: var(--gold); }
.hero-sub { font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase; color: #dbe7e9; margin: 1.5rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-down { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.3rem; z-index: 3; width: 44px; height: 44px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; display: grid; place-items: center; }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35; }
.hero-orbs span:nth-child(1) { width: 260px; height: 260px; background: radial-gradient(circle, var(--gold), transparent 70%); top: 12%; right: 8%; }
.hero-orbs span:nth-child(2) { width: 180px; height: 180px; background: radial-gradient(circle, var(--pink), transparent 70%); bottom: 18%; right: 28%; }
.hero-orbs span:nth-child(3) { width: 120px; height: 120px; background: radial-gradient(circle, #fff, transparent 70%); top: 30%; right: 38%; }
.hero-orbs span:nth-child(4) { width: 200px; height: 200px; background: radial-gradient(circle, var(--teal-600), transparent 70%); bottom: 5%; left: 5%; }

/* Stats */
.stats { background: var(--teal-800); color: #fff; margin-top: -1px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 1rem; padding: 55px 0; }
.stat i { font-size: 2rem; color: var(--gold); margin-bottom: .5rem; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; }
.stat span { text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; color: #cfe0e2; }

/* Layout duas colunas */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse .col-media { order: 2; }
.col-media img { margin-inline: auto; }
.col-media img.rounded, img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.col-media img.tall { max-height: 640px; width: auto; }
.seal .col-media img { max-width: 320px; }
.founder { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.founder img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.founder h4 { margin: 0; }
.founder span { font-size: .8rem; letter-spacing: 2px; color: var(--pink); }
.badge-since { position: absolute; }
.about-history .col-media { position: relative; background: var(--teal-800); border-radius: var(--radius); padding: 2rem; }
.badge-since { right: -12px; bottom: -22px; background: var(--gold); color: var(--teal-900); border-radius: 50%; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; box-shadow: var(--shadow); text-transform: uppercase; }
.badge-since strong { font-family: var(--head); font-size: 1.7rem; }
.badge-since small { font-size: .6rem; letter-spacing: 2px; }

/* Cards de projetos */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 1rem; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 22px 50px rgba(15, 33, 36, .22); }
.pc-img { position: relative; overflow: hidden; aspect-ratio: 768 / 488; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.project-card:hover .pc-img img { transform: scale(1.12); }
.pc-donate { position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--teal-900); font-weight: 700; font-size: .72rem; padding: .4rem 1rem; border-radius: 50px; font-family: 'Montserrat'; transform: translateY(-60px); opacity: 0; transition: .4s; }
.project-card:hover .pc-donate { transform: none; opacity: 1; }
.pc-donate:hover { background: var(--pink); color: #fff; }
.pc-body { padding: 1.5rem 1.6rem 1.8rem; }
.pc-body h3 { text-transform: uppercase; font-size: 1.15rem; }
.pc-body p { font-size: .92rem; }

/* Voluntário / listas */
.volunteer .col-media img { max-height: 560px; width: auto; }
.ways-list { max-width: 780px; margin: 2rem auto; display: grid; gap: .9rem; }
.ways-list li { background: var(--soft); border-radius: 12px; padding: 1rem 1.4rem; display: flex; gap: .8rem; align-items: center; font-weight: 500; transition: transform .3s, background .3s; }
.ways-list li:hover { transform: translateX(10px); background: #fff; box-shadow: var(--shadow); }
.ways-list i { color: var(--gold-dark); }
.carbon { text-align: center; margin-top: 3rem; padding: 2.5rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); color: #fff; }
.carbon h3 { color: var(--gold); font-size: 2rem; margin: .3rem 0 1.2rem; }
.magazine .col-media img { max-width: 420px; box-shadow: var(--shadow); border-radius: var(--radius); }

/* Parceiros e rodapé */
.partners { padding: 60px 0; background: #fff; }
.marquee { overflow: hidden; margin-top: 2rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 80px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .4s; }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.12); }
.site-footer { background: var(--teal-900); color: #c2d1d3; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 50px; }
.site-footer h3 { color: var(--gold); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 1px; margin-top: 1.4rem; }
.f-col:first-child h3 { margin-top: 1rem; }
.f-about img { width: 220px; margin-bottom: 1rem; }
.f-col li { margin-bottom: .45rem; }
.f-col a { transition: color .3s, padding .3s; }
.f-col li a:hover { color: var(--gold); padding-left: 6px; }
.contact-list i { color: var(--gold); width: 22px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: .35s; }
.footer-social a:hover { background: var(--gold); color: var(--teal-900); transform: translateY(-5px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: var(--gold); }

/* Banner interno */
.page-banner { position: relative; padding: 170px 0 80px; background: linear-gradient(120deg, var(--teal-900), var(--teal-800) 55%, var(--teal-600)); color: #fff; text-align: center; overflow: hidden; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; margin-bottom: .4em; }
.breadcrumb { font-size: .9rem; color: #cfe0e2; }
.breadcrumb i { margin: 0 .6rem; font-size: .7rem; color: var(--gold); }
.breadcrumb a:hover { color: var(--gold); }
.banner-shapes span { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(211, 174, 91, .35), transparent 70%); }
.banner-shapes span:nth-child(1) { width: 320px; height: 320px; left: -80px; top: 40px; }
.banner-shapes span:nth-child(2) { width: 220px; height: 220px; right: 8%; top: 90px; background: radial-gradient(circle, rgba(226, 73, 138, .3), transparent 70%); }
.banner-shapes span:nth-child(3) { width: 140px; height: 140px; right: 30%; bottom: -40px; }

/* Páginas internas */
.mvv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.mvv-card { background: #fff; padding: 2.2rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border-bottom: 4px solid var(--gold); transition: transform .4s; }
.mvv-card:hover { transform: translateY(-10px); }
.mvv-card i { font-size: 2.2rem; color: var(--pink); margin-bottom: 1rem; transition: transform .6s; }
.mvv-card:hover i { transform: rotateY(360deg); }
.mvv-card h3 { text-transform: uppercase; }
.pillars { display: flex; gap: 1rem; flex-wrap: wrap; }
.pillars span { background: var(--teal-800); color: var(--gold); padding: .6rem 1.4rem; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.photo-band img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.2rem; margin-top: 2rem; }
.team-grid.two { grid-template-columns: repeat(2, minmax(240px, 320px)); justify-content: center; }
.team-card { text-align: center; }
.team-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; width: min(100%, 280px); margin: 0 auto 1.2rem; border: 6px solid #fff; box-shadow: var(--shadow); position: relative; }
.team-img::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--gold); opacity: 0; transition: .4s; }
.team-card:hover .team-img::after { opacity: 1; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .team-img img { transform: scale(1.1); }
.team-card h3 { text-transform: uppercase; font-size: 1.1rem; margin-bottom: .2em; }
.team-card span { color: var(--pink); text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 600; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.doc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: transform .4s; }
.doc-card:hover { transform: translateY(-10px) rotate(-1deg); }
.doc-img { display: block; overflow: hidden; aspect-ratio: 1; }
.doc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.doc-card:hover .doc-img img { transform: scale(1.12); }
.doc-title { display: block; padding: 1.1rem; font-weight: 700; font-family: 'Montserrat'; font-size: .85rem; color: var(--teal-800); }
.doc-title i { color: var(--pink); }

/* Projeto */
.project-hero { padding: 80px 0 40px; background: var(--soft); }
.project-logo { max-height: 220px; width: auto; }
.big-counter strong { font-family: var(--head); font-size: clamp(3rem, 7vw, 5rem); color: var(--pink); line-height: 1; display: block; }
.big-counter span { text-transform: uppercase; letter-spacing: 3px; font-size: .9rem; font-weight: 600; display: block; margin-bottom: 1.4rem; }
.quote-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 110px 0; text-align: center; color: #fff; }
.quote-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(15, 33, 36, .8), rgba(24, 50, 54, .85)); }
.quote-section .container { position: relative; }
.quote-mark { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
blockquote { margin: 0 0 1rem; font-family: var(--head); font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1.4; }
cite { color: var(--gold); font-style: normal; letter-spacing: 3px; text-transform: uppercase; font-size: .85rem; }
.tab-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.2rem; }
.tab-nav button { font: 600 .85rem 'Montserrat'; text-transform: uppercase; letter-spacing: 1px; background: var(--soft); border: 0; padding: .9rem 1.8rem; border-radius: 50px; cursor: pointer; color: var(--teal-800); transition: .3s; }
.tab-nav button:hover { background: #e4ecec; }
.tab-nav button.active { background: var(--teal-800); color: var(--gold); box-shadow: 0 8px 20px rgba(24, 50, 54, .3); }
.tab-panel { display: none; max-width: 900px; margin-inline: auto; }
.tab-panel.active { display: block; animation: tabIn .6s ease; }
.tab-panel p { text-align: justify; }
.check-list li { position: relative; padding: .5rem 0 .5rem 2rem; }
.check-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold-dark); position: absolute; left: 0; top: .5rem; }
.progress label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .4rem; }
.bar { height: 12px; background: rgba(255, 255, 255, .15); border-radius: 12px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--pink)); border-radius: 12px; transition: width 2s cubic-bezier(.2, .8, .2, 1); }
.mini-counters { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 2rem 0; gap: 1rem; }
.mini-counters strong { display: block; font-family: var(--head); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.mini-counters span { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; }
.gallery { columns: 4 240px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 12px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .6s, filter .4s; }
.gallery a { display: block; cursor: zoom-in; position: relative; }
.gallery a::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.8rem; background: rgba(24, 50, 54, .55); opacity: 0; transition: .4s; }
.gallery figure:hover a::after { opacity: 1; }
.gallery figure:hover img { transform: scale(1.1); }
.gallery figcaption { padding: .6rem; font-size: .85rem; text-align: center; background: var(--soft); }
.ods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; margin-top: 2rem; }
.ods-grid img { border-radius: 10px; transition: transform .4s, box-shadow .4s; }
.ods-grid img:hover { transform: scale(1.12) rotate(-2deg); box-shadow: var(--shadow); z-index: 2; }
.cta-band { background: linear-gradient(120deg, var(--pink), #b32a69 60%, var(--teal-800)); color: #fff; text-align: center; padding: 80px 0; background-size: 200% 200%; animation: gradientMove 10s ease infinite; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.cta-band .btn { margin: .4rem; }

/* Parceiro */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.benefit { text-align: center; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.4rem; box-shadow: var(--shadow); transition: transform .4s; }
.benefit:hover { transform: translateY(-8px); }
.benefit img { width: 90px; margin: 0 auto 1rem; }
.benefit h3 { font-size: 1.1rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2.5rem; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem 2rem; display: flex; flex-direction: column; border-top: 5px solid var(--gold); transition: transform .4s, box-shadow .4s; }
.plan:hover { transform: translateY(-12px); box-shadow: 0 25px 55px rgba(15, 33, 36, .25); }
.plan.featured { border-top-color: var(--pink); background: linear-gradient(180deg, #fff, #fdf3f8); }
.plan-name { font-family: 'Montserrat'; font-weight: 800; letter-spacing: 2px; color: var(--pink); font-size: .85rem; }
.plan-price { font-size: 2.2rem; margin: .3rem 0 1.2rem; }
.plan ul { flex: 1; margin-bottom: 1.5rem; }
.plan li { font-size: .9rem; padding: .35rem 0 .35rem 1.7rem; position: relative; border-bottom: 1px dashed #e3eaea; }
.plan li i { position: absolute; left: 0; top: .65rem; color: var(--gold-dark); font-size: .75rem; }
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.4rem; margin-top: 2rem; }
.edition { text-align: center; font-weight: 600; transition: transform .4s; perspective: 800px; }
.edition img { border-radius: 8px; box-shadow: 0 18px 40px rgba(15, 33, 36, .3); margin-bottom: 1rem; transition: transform .6s; }
.edition:hover img { transform: rotateY(-12deg) translateY(-8px); }
.tag-free { display: inline-block; background: var(--gold); padding: .5rem 1.4rem; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--teal-900); }
.big-icon { font-size: 4.5rem; color: var(--gold-dark); margin-bottom: 1rem; }

/* Formulários */
.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form label { display: block; font-weight: 600; font-size: .85rem; color: var(--teal-800); }
.form input, .form textarea, .form select { width: 100%; padding: .85rem 1rem; margin-top: .3rem; border: 2px solid #dde6e7; border-radius: 12px; font: inherit; transition: border-color .3s, box-shadow .3s, transform .3s; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(211, 174, 91, .25); transform: translateY(-2px); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500; animation: tabIn .5s; }
.alert.ok { background: #e7f6ec; color: #1b6b3a; }
.alert.err { background: #fde8ee; color: #a3224f; }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3); }

/* Utilitários flutuantes */
.progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--pink)); z-index: 300; }
.preloader { position: fixed; inset: 0; background: var(--teal-900); z-index: 400; display: grid; place-items: center; transition: opacity .7s, visibility .7s; }
.preloader img { width: 170px; animation: pulseLogo 1.2s ease-in-out infinite; }
.preloader.done { opacity: 0; visibility: hidden; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; z-index: 90; box-shadow: 0 8px 25px rgba(37, 211, 102, .5); animation: ring 2.5s infinite; }
.to-top { position: fixed; right: 30px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--teal-900); cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.notice { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(620px, 92%); background: var(--teal-800); color: #fff; padding: 1.1rem 3rem 1.1rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow); z-index: 150; font-size: .85rem; border-left: 5px solid var(--gold); animation: slideUp .8s ease; }
.notice p { margin: 0; }
.notice a { color: var(--gold); text-decoration: underline; }
.notice button { position: absolute; right: 12px; top: 8px; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 12, 14, .93); z-index: 500; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: 8px; animation: zoomIn .4s; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: .3s; }
.lightbox button:hover { background: var(--gold); color: var(--teal-900); }
.lb-close { top: 20px; right: 24px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }

/* Responsivo */
@media (max-width: 1100px) {
  .header-social { display: none; }
  .mvv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86%); background: var(--teal-900); flex-direction: column; align-items: stretch; padding: 100px 1.2rem 2rem; transform: translateX(100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); overflow-y: auto; margin: 0; gap: 1rem; }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(255, 255, 255, .05); border: 0; }
  .has-sub.open > .sub { display: block; }
  .burger { z-index: 2; position: relative; }
  .two-col { grid-template-columns: 1fr; gap: 2.2rem; }
  .two-col.reverse .col-media { order: 0; }
  .footer-grid, .benefit-grid, .stats-grid { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .quote-section { background-attachment: scroll; }
  .team-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .mvv-grid { grid-template-columns: 1fr; } .to-top { right: 24px; } }

/* ===== Blog ===== */
.mt-s { margin-top: 2.5rem; }
.blog-search { display: flex; max-width: 520px; margin: 0 auto 3rem; background: #fff; border-radius: 50px; box-shadow: var(--shadow); overflow: hidden; border: 2px solid transparent; transition: border-color .3s; }
.blog-search:focus-within { border-color: var(--gold); }
.blog-search input { flex: 1; border: 0; padding: 1rem 1.5rem; font: inherit; outline: none; background: transparent; }
.blog-search button { border: 0; background: var(--gold); color: var(--teal-900); padding: 0 1.5rem; cursor: pointer; transition: .3s; }
.blog-search button:hover { background: var(--pink); color: #fff; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--teal-800); color: #e4eef0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 3rem; transition: transform .4s; }
.post-featured:hover { transform: translateY(-6px); }
.pf-img { overflow: hidden; display: block; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.post-featured:hover .pf-img img { transform: scale(1.08); }
.pf-body { padding: 2.4rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.pf-body strong { font-family: var(--head); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fff; line-height: 1.25; }
.pf-body > span { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pf-body .link-arrow { color: var(--gold); font-style: normal; }
.post-meta { color: #7a8c90; font-size: .82rem; display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .4rem; }
.post-featured .post-meta { color: var(--gold); }
.post-meta i { color: var(--pink); margin-right: .25rem; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.post-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(15, 33, 36, .2); }
.post-card .pc-img { aspect-ratio: 16 / 9; display: block; }
.post-card h3 { font-size: 1.1rem; }
.post-card h3 a:hover { color: var(--pink); }
.post-card .pc-body { display: flex; flex-direction: column; flex: 1; }
.post-card .pc-body p { font-size: .9rem; }
.post-author { color: #7a8c90; margin-bottom: .8rem; display: block; }
.post-card .link-arrow { margin-top: auto; }
.post-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-single .post-meta { margin: 1.4rem 0 1rem; font-size: .9rem; }
.post-content { font-size: 1.05rem; }
.post-content p { text-align: justify; }
.post-content img { border-radius: 12px; margin: 1.4rem auto; }
.post-content h2, .post-content h3 { margin-top: 1.6em; }
.post-content blockquote { border-left: 4px solid var(--gold); padding: .4rem 1.4rem; margin: 1.5rem 0; background: var(--soft); font-family: inherit; font-size: 1.05rem; border-radius: 0 12px 12px 0; }
.post-content iframe { max-width: 100%; border-radius: 12px; }
.post-content a { color: var(--pink); text-decoration: underline; }
.post-share { display: flex; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e1e9ea; font-weight: 600; }
.post-share a { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-800); color: #fff; display: grid; place-items: center; transition: .35s; }
.post-share a:hover { background: var(--gold); color: var(--teal-900); transform: translateY(-5px) rotate(360deg); }

/* ===== Flipbook ===== */
.flip-section { padding: 50px 0 70px; background: radial-gradient(circle at 50% 0%, #2f4e55, var(--teal-900) 70%); }
.flipbook { color: #fff; }
.fb-stage { position: relative; min-height: 420px; display: flex; justify-content: center; align-items: center; padding: 1rem 0; }
.fb-book { margin: 0 auto; }
.fb-page { background: #fff; overflow: hidden; box-shadow: inset 0 0 25px rgba(0, 0, 0, .12); }
.fb-page img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.fb-ph { width: 100%; height: 100%; display: grid; place-items: center; background: #f4f1ea; }
.fb-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; z-index: 5; transition: opacity .5s, visibility .5s; }
.fb-loading.done { opacity: 0; visibility: hidden; }
.fb-spinner { width: 54px; height: 54px; border: 5px solid rgba(255, 255, 255, .2); border-top-color: var(--gold); border-radius: 50%; animation: spin .9s linear infinite; }
.fb-spinner.sm { width: 30px; height: 30px; border-width: 3px; border-color: rgba(0, 0, 0, .1); border-top-color: var(--gold-dark); }
.fb-controls { display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.fb-controls button, .fb-controls a { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1rem; cursor: pointer; display: grid; place-items: center; transition: .3s; }
.fb-controls button:hover, .fb-controls a:hover { background: var(--gold); color: var(--teal-900); transform: translateY(-3px); }
.fb-counter { min-width: 90px; text-align: center; font-family: 'Montserrat'; font-weight: 600; letter-spacing: 1px; }
.fb-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .25); margin: 0 .4rem; }
.fb-hint { text-align: center; color: #aabfc3; font-size: .85rem; margin: 1rem 0 0; }
.flipbook.is-full { background: var(--teal-900); display: flex; flex-direction: column; justify-content: center; padding: 1rem; }
.flipbook.is-full .fb-stage { flex: 1; }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }
