/*
Theme Name: AE Comunicação Resgate Métricas
Theme URI: https://example.com/
Author: Perplexity
Author URI: https://perplexity.ai/
Description: Tema WordPress institucional com acabamento visual premium.
Version: 1.6.4.10
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ae-comunicacao-resgate-metricas
*/

:root {
  --bg-deep: #060f28;
  --bg-navy: #08183f;
  --bg-navy-2: #0c235f;
  --bg-soft: #f5f7fc;
  --surface: rgba(255,255,255,.9);
  --surface-strong: #ffffff;
  --surface-dark: rgba(255,255,255,.06);
  --surface-dark-2: rgba(255,255,255,.1);
  --red: #ff5a57;
  --red-dark: #ea4240;
  --gold: #f5d29c;
  --text: #14203d;
  --text-soft: #30405f;
  --muted: #65728d;
  --white: #ffffff;
  --border: rgba(18, 34, 76, 0.08);
  --border-strong: rgba(255,255,255,.14);
  --shadow-sm: 0 14px 35px rgba(7, 17, 45, 0.07);
  --shadow-md: 0 24px 65px rgba(7, 17, 45, 0.12);
  --shadow-lg: 0 34px 90px rgba(4, 13, 35, 0.22);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1220px;
  --font: 'Montserrat', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
p { margin: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .8rem 1rem; z-index: 100; border-radius: 8px; }
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: .9rem; color: var(--red); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; opacity: .75; }
.section, .portfolio-section, .blog-section, .testimonials-section { padding: clamp(4.2rem, 6vw, 6.4rem) 0; }
.section-title { max-width: 820px; margin-inline: auto; }
.section-title h2, .about-copy h2, .footer-copy h2, .portfolio-grid-title, .blog-section h1, .portfolio-section h1, .testimonials-section h1 { margin: 0; font-size: clamp(2.2rem, 3.4vw, 4.1rem); line-height: .98; letter-spacing: -0.06em; color: var(--text); text-wrap: balance; }
.section-title p { margin: 1rem auto 0; max-width: 60ch; color: var(--muted); line-height: 1.9; }
.hero-header { position: relative; background: radial-gradient(circle at 8% 10%, rgba(245,210,156,.12) 0, rgba(245,210,156,0) 20%), radial-gradient(circle at 88% 14%, rgba(255,90,87,.22) 0, rgba(255,90,87,0) 24%), radial-gradient(circle at 72% 70%, rgba(255,255,255,.08) 0, rgba(255,255,255,0) 22%), linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-navy) 44%, #091734 100%); color: var(--white); overflow: hidden; }
.hero-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 25%), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: 100% 100%, 90px 90px, 90px 90px; mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%); pointer-events: none; }
.hero-header::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 100%); pointer-events: none; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0 .5rem; position: relative; z-index: 3; }
.logo-link img { width: 134px; height: auto; filter: drop-shadow(0 14px 28px rgba(0,0,0,.14)); }
.nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; justify-content: center; padding: .8rem 1.2rem; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.nav a { position: relative; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.84); padding: .35rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -.15rem; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(255,90,87,0) 0%, var(--red) 30%, rgba(245,210,156,.9) 100%); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.nav a.active, .nav a:hover, .nav .current-menu-item > a { color: var(--white); }
.nav a:hover::after, .nav .current-menu-item > a::after, .nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); font-size: 1.8rem; }
.mobile-panel { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 1rem 1.65rem; border-radius: 999px; font-size: .9rem; font-weight: 800; letter-spacing: .04em; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(180deg, #ff6e65 0%, var(--red) 100%); color: var(--white); box-shadow: 0 20px 40px rgba(255,90,87,.32); }
.btn-primary:hover { background: linear-gradient(180deg, #ff7a72 0%, var(--red-dark) 100%); box-shadow: 0 24px 50px rgba(255,90,87,.36); }
.btn-dark { background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); box-shadow: 0 18px 40px rgba(5, 14, 36, .18); }
.btn-dark:hover { background: rgba(255,255,255,.1); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.1fr; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); padding: 1.6rem 0 0; position: relative; z-index: 2; }
.hero-copy { padding: 3.2rem 0 5.6rem; max-width: 580px; }
.hero-copy h1 { margin: 0 0 1.25rem; font-size: clamp(3rem, 5.2vw, 6rem); line-height: .9; font-weight: 800; letter-spacing: -0.075em; color: var(--white); text-wrap: balance; }
.hero-copy h1 span { color: var(--gold); }
.hero-copy p { max-width: 47ch; margin: 0 0 2.2rem; font-size: 1.05rem; line-height: 1.9; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-image-wrap { position: relative; min-height: 710px; display: flex; align-items: flex-end; justify-content: flex-end; --hero-max-width: 860px; --hero-max-height: 740px; --hero-object-position: center top; --hero-border-radius: 34px; }
.curve-shape { position: absolute; left: 2%; top: 8%; width: 56%; height: 78%; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border-radius: 48px 200px 200px 48px; border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); z-index: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.14); }
.hero-image-wrap::before { content: ''; position: absolute; right: 6%; top: 10%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,87,.34) 0%, rgba(255,90,87,0) 72%); filter: blur(16px); z-index: 0; }
.hero-image-wrap::after { content: ''; position: absolute; right: 14%; bottom: 10%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245,210,156,.16) 0%, rgba(245,210,156,0) 70%); filter: blur(14px); z-index: 0; }
.hero-image-wrap img { position: relative; z-index: 1; width: min(100%, var(--hero-max-width)); max-height: var(--hero-max-height); object-fit: cover; object-position: var(--hero-object-position); border-radius: var(--hero-border-radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.16); }
.cards-grid, .portfolio-grid, .blog-grid, .testimonials-grid { display: grid; gap: 1.55rem; margin-top: 2.4rem; }
.cards-grid { grid-template-columns: repeat(4, 1fr); }
.portfolio-grid, .blog-grid, .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .portfolio-card, .blog-card, .testimonial-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(249,251,255,.94) 100%); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card::before, .portfolio-card::before, .blog-card::before, .testimonial-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,0)); opacity: .9; }
.service-card:hover, .portfolio-card:hover, .blog-card:hover, .testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(255,90,87,.15); }
.service-card, .portfolio-card, .testimonial-card { padding: 2.1rem; }
.blog-card-body { padding: 1.65rem; }
.icon-circle { width: 82px; height: 82px; margin: 0 auto 1.2rem; border-radius: 28px; background: linear-gradient(145deg, #091d53 0%, #153273 100%); color: var(--gold); display: grid; place-items: center; font-size: 2rem; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 34px rgba(7, 23, 61, .14); }
.service-card h3, .portfolio-card h3, .blog-card h3, .testimonial-card h3 { margin: .15rem 0 .9rem; font-size: 1.36rem; line-height: 1.18; letter-spacing: -0.035em; color: #18264a; }
.service-card p, .portfolio-card p, .blog-card p, .testimonial-card p { color: var(--muted); line-height: 1.86; font-size: .98rem; }
.blog-card img, .portfolio-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transform: scale(1.001); transition: transform .3s ease; }
.blog-card:hover img, .portfolio-card:hover img { transform: scale(1.04); }
.blog-card h3 a, .portfolio-card h3 a { transition: color .18s ease; }
.blog-card h3 a:hover, .portfolio-card h3 a:hover { color: var(--red); }
.about-band { position: relative; background: linear-gradient(135deg, #07122d 0%, #09193f 55%, #07122b 100%); color: var(--white); overflow: hidden; padding: clamp(4.2rem, 6vw, 6.4rem) 0; }
.about-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 12%, rgba(255,255,255,.06) 0, rgba(255,255,255,0) 25%), radial-gradient(circle at 86% 74%, rgba(255,90,87,.16) 0, rgba(255,90,87,0) 22%); pointer-events: none; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
.about-copy { padding-top: .2rem; }
.about-copy h2, .about-copy p, .footer-copy h2, .footer-copy p, .footer-contact a, .footer-contact span { color: var(--white); }
.about-copy p, .footer-copy p { line-height: 1.95; color: rgba(255,255,255,.8); max-width: 54ch; }
.about-copy .btn { margin-top: 1.8rem; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-item { display: flex; gap: 1rem; padding: 1.45rem 1.3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.feature-icon { flex-shrink: 0; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,90,87,.14); color: var(--gold); font-size: 1.4rem; line-height: 1; }
.feature-item h3 { margin: 0 0 .45rem; font-size: 1.18rem; color: var(--white); letter-spacing: -0.02em; }
.feature-item p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.72; font-size: .95rem; }
.stats-strip { background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); padding: 2rem 0; border-top: 1px solid rgba(12, 27, 66, 0.05); border-bottom: 1px solid rgba(12, 27, 66, 0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.stat-item { display: flex; align-items: center; gap: 1rem; justify-content: center; padding: 1rem 1.1rem; background: linear-gradient(180deg, #ffffff 0%, #f7f9fe 100%); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm); color: #1c2744; }
.stat-item strong { display: block; font-size: 1.35rem; letter-spacing: -0.03em; }
.stat-item small { display: block; margin-top: .15rem; color: var(--muted); font-size: .88rem; }
.stat-icon.metric-icon-fa { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(180deg, #f9fbff 0%, #eef3fd 100%); color: #1a2f66; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.metric-icon-fa i { font-size: 1.15rem; }
.site-footer { position: relative; background: linear-gradient(135deg, #060f27 0%, #07132f 100%); color: var(--white); padding: 4.8rem 0; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,87,.2) 0%, rgba(255,90,87,0) 70%); }
.site-footer::after { content: ''; position: absolute; left: -120px; top: -120px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245,210,156,.09) 0%, rgba(245,210,156,0) 72%); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr .85fr; gap: 2rem; align-items: center; }
.footer-copy h2 { color: var(--white); }
.footer-contact { display: grid; gap: 1rem; }
.footer-brand { justify-self: end; text-align: center; }
.footer-brand img { width: 166px; height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 16px 36px rgba(0,0,0,.28)); }
.socials { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.socials a, .contact-icon, .social-icon { display: inline-grid; place-items: center; }
.socials a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.socials a:hover { transform: translateY(-2px); background: rgba(255,90,87,.16); border-color: rgba(255,90,87,.34); box-shadow: 0 12px 26px rgba(255,90,87,.16); }
.contact-line { display: flex; align-items: center; gap: .9rem; padding: .15rem 0; }
.contact-icon { width: 2.45rem; min-width: 2.45rem; height: 2.45rem; border-radius: 16px; background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.contact-line span:last-child { color: rgba(255,255,255,.88); }
.blog-section, .portfolio-section, .testimonials-section { background: linear-gradient(180deg, rgba(245,247,252,.7) 0%, rgba(255,255,255,0) 100%); }
.blog-card, .portfolio-card, .testimonial-card { height: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .desktop-btn { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-panel { display: grid; gap: .4rem; padding: 0 1rem 1rem; position: relative; z-index: 4; }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel a { color: var(--white); font-weight: 700; padding: .7rem 0; }
  .mobile-btn { margin-top: .6rem; width: fit-content; }
  .hero-grid, .about-grid, .footer-grid, .stats-grid, .cards-grid, .portfolio-grid, .blog-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { justify-self: start; }
}
@media (max-width: 760px) {
  .section, .portfolio-section, .blog-section, .testimonials-section, .about-band { padding: 3.8rem 0; }
  .hero-grid, .about-grid, .footer-grid, .stats-grid, .cards-grid, .about-features, .portfolio-grid, .blog-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.3rem 0 0; max-width: 100%; }
  .hero-copy p { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-image-wrap { min-height: auto; padding-top: 1rem; }
  .curve-shape { width: 76%; height: 62%; left: auto; right: -12%; top: 18%; border-radius: 44px 0 0 44px; }
  .hero-image-wrap img { max-height: none; width: 100%; }
  .topbar { padding-top: 1rem; }
  .section-title h2, .about-copy h2, .footer-copy h2, .portfolio-grid-title, .blog-section h1, .portfolio-section h1, .testimonials-section h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
}

.services .cards-grid { align-items: stretch; }
.services .service-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; min-height: 100%; padding: 2.2rem 1.8rem 2rem; }
.services .service-card p { flex-grow: 1; max-width: 28ch; }
.services .icon-circle { width: 88px; height: 88px; border-radius: 30px; margin-bottom: 1.35rem; background: linear-gradient(145deg, #081a47 0%, #14357b 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 34px rgba(7,23,61,.18), 0 0 0 1px rgba(255,255,255,.04); }
.services .service-card h3 { min-height: 3.2rem; display: flex; align-items: center; justify-content: center; text-wrap: balance; }
.services .service-card::after { content: ''; width: 44px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,90,87,.18) 0%, rgba(255,90,87,.85) 50%, rgba(245,210,156,.8) 100%); margin: 1.2rem auto 0; }
@media (max-width: 760px) {
  .services .service-card h3 { min-height: auto; }
  .services .service-card p { max-width: 100%; }
}
