/*
Theme Name: Instituto Mão Dupla (Clássico)
Theme URI: https://institutomaodupla.org.br
Author: Instituto Mão Dupla
Description: Versão clássica do tema institucional do Instituto Mão Dupla — toda a personalização (textos, imagens, cores) é feita pelas ferramentas nativas do WordPress (Personalizar e Widgets), sem Elementor.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: instituto-mao-dupla
*/

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope', sans-serif; color: #17223c; background: #fff; overflow-x: hidden; }
::selection { background: #5FC7C4; color: #0C1830; }
a { color: #2C8FC9; text-decoration: none; }
a:hover { color: #1E6E9E; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }
input::placeholder, textarea::placeholder { color: #9AA7B8; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid #EAEEF3; }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-logo img { height: 44px; width: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav .nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav a { font-weight: 600; font-size: 15px; color: #17223c; }
.cta-btn { font-weight: 700 !important; font-size: 14px !important; color: #fff !important; background: #2C8FC9; padding: 10px 22px; border-radius: 100px; white-space: nowrap; }

/* Hero */
.hero { position: relative; padding: 96px 32px 110px; background: linear-gradient(135deg,#0C1830 0%,#123456 55%,#1E7FA8 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(95,199,196,0.35), transparent 55%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; }
.hero-copy { animation: fadeUp 0.8s ease both; }
.hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 50px; line-height: 1.15; color: #fff; margin: 0 0 22px; text-wrap: pretty; }
.hero p { font-size: 19px; line-height: 1.6; color: #C9DCE8; margin: 0 0 36px; max-width: 520px; text-wrap: pretty; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: #5FC7C4; color: #0C1830 !important; font-weight: 700; font-size: 16px; padding: 16px 32px; border-radius: 100px; display: inline-block; text-align: center; }
.btn-secondary { background: transparent; color: #fff !important; font-weight: 700; font-size: 16px; padding: 16px 32px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.4); display: inline-block; text-align: center; }
.hero-image { animation: fadeUp 0.8s ease 0.15s both; }
.hero-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); display: block; }

/* Sections */
.section { padding: 100px 32px; }
.section-white { background: #fff; }
.section-gray { background: #F6F9FA; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #2C8FC9; }
.eyebrow-light { color: #5FC7C4; }
h2 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 36px; line-height: 1.2; color: #101B33; margin: 14px 0 0; text-wrap: pretty; }

/* Sobre */
.sobre-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.sobre-grid h2 { margin: 14px 0 24px; }
.sobre-grid img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; display: block; }
.sobre-grid p { font-size: 17px; line-height: 1.75; color: #414D5F; margin: 0 0 20px; text-wrap: pretty; }

/* Programas */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar-card { background: #fff; border-radius: 20px; padding: 32px 28px; border: 1px solid #E7EDF1; }
.pillar-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px; }
.pillar-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; color: #101B33; margin: 0 0 10px; }
.pillar-card p { font-size: 15px; line-height: 1.6; color: #5A6579; margin: 0; }

/* Esporte Jovem */
.esporte-section { padding: 100px 32px; background: #101B33; position: relative; overflow: hidden; }
.esporte-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 90%, rgba(44,143,201,0.25), transparent 50%); pointer-events: none; }
.esporte-section .wrap { position: relative; }
.esporte-section .section-head h2 { color: #fff; margin: 14px 0 12px; }
.esporte-section .section-head p { font-size: 17px; line-height: 1.65; color: #B9C7D6; margin: 0; text-wrap: pretty; max-width: 680px; margin-left: auto; margin-right: auto; }
.esporte-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.esporte-grid img { width: 100%; height: 340px; object-fit: cover; border-radius: 20px; display: block; }
.esporte-grid h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; color: #fff; margin: 0 0 16px; }
.esporte-grid p { font-size: 16px; line-height: 1.7; color: #B9C7D6; margin: 0 0 24px; text-wrap: pretty; }
.benefits-list { display: flex; flex-wrap: wrap; gap: 10px; }
.benefit-tag { background: rgba(95,199,196,0.12); border: 1px solid rgba(95,199,196,0.35); color: #8FE4E1; font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 100px; }

/* Noticias */
.noticias-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.noticias-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.noticia-card { display: block; border-radius: 16px; overflow: hidden; border: 1px solid #E7EDF1; }
.noticia-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.noticia-body { padding: 22px; }
.noticia-tag { font-weight: 700; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: #2C8FC9; }
.noticia-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: #101B33; margin: 10px 0 0; line-height: 1.35; }

/* Contato */
.contato-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
.contato-grid h2 { margin: 14px 0 16px; }
.contato-grid > div > p { font-size: 16px; line-height: 1.7; color: #5A6579; margin: 0 0 24px; text-wrap: pretty; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; gap: 12px; align-items: center; }
.contact-info-icon { width: 38px; height: 38px; border-radius: 10px; background: #2C8FC9; flex-shrink: 0; }
.contact-info-item span { font-size: 15px; color: #414D5F; }

form.signup-form { background: #fff; border-radius: 20px; padding: 36px; border: 1px solid #E7EDF1; display: flex; flex-direction: column; gap: 16px; }
form.signup-form input, form.signup-form select, form.signup-form textarea { padding: 14px 16px; border-radius: 12px; border: 1.5px solid #E1E7ED; font-size: 15px; font-family: inherit; color: #17223c; }
form.signup-form button { background: #2C8FC9; color: #0C1830; font-weight: 700; font-size: 16px; padding: 16px; border-radius: 12px; border: none; cursor: pointer; font-family: inherit; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: #101B33; margin: 0 0 8px; }
.form-success p { font-size: 15px; color: #5A6579; margin: 0; }

/* Footer */
.site-footer { background: #0C1830; padding: 56px 32px 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top img { height: 34px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: #B9C7D6; font-size: 14px; font-weight: 600; }
.footer-copy { color: #6C7B90; font-size: 13px; margin: 24px 0 0; }

@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .site-logo img { height: 40px; }
  .hero { padding: 56px 20px 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; }
  .hero-image img { height: 260px; }
  .section { padding: 64px 20px; }
  h2 { font-size: 26px; }
  .sobre-grid, .esporte-grid, .contato-grid { grid-template-columns: 1fr; }
  .sobre-grid img { height: 220px; }
  .pillars-grid, .noticias-grid { grid-template-columns: 1fr; }
  .esporte-grid img { height: 240px; }
  .noticia-card img { height: 160px; }
}
