/*
Theme Name: ABA KIDS+
Theme URI: https://abakids.com.br
Author: ABA KIDS+
Author URI: https://abakids.com.br
Description: Tema oficial do Centro de Intervenção Comportamental Infantojuvenil ABA KIDS+
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abakids
Tags: colorido, infantil, saude, terapia
*/

:root {
  --cream: #F5F3E7;
  --yellow: #F8B42E;
  --coral: #F66556;
  --teal: #00909E;
  --blue: #0477DE;
  --pink: #F23B69;
  --dark: #1a1a2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: #333;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Fredoka One', cursive; line-height: 1.1; }

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,243,231,0.96);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.15); }

.site-branding .site-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.7rem;
  display: flex;
  gap: 4px;
}
.site-branding .site-title a { text-decoration: none; display: flex; gap: 4px; }
.site-branding .site-title .aba { color: var(--teal); }
.site-branding .site-title .kids { color: var(--pink); }

/* ── NAVIGATION ── */
.main-navigation ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
.main-navigation ul li a {
  font-weight: 700;
  font-size: 0.95rem;
  color: #555;
  transition: color 0.2s;
}
.main-navigation ul li a:hover { color: var(--teal); }
.main-navigation ul li.nav-cta a {
  background: var(--pink);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}
.main-navigation ul li.nav-cta a:hover {
  background: var(--coral);
  transform: scale(1.05);
}

/* Hamburger mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--teal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 60px 60px;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.hc1 { width:300px;height:300px;background:var(--yellow);top:-80px;right:10%;animation:float 6s ease-in-out infinite; }
.hc2 { width:200px;height:200px;background:var(--pink);bottom:10%;left:-50px;animation:float 8s ease-in-out infinite 1s; }
.hc3 { width:150px;height:150px;background:var(--blue);top:30%;right:5%;animation:float 7s ease-in-out infinite 2s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content { position: relative; z-index: 2; max-width: 580px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem,6vw,5.5rem);
  margin-bottom: 12px;
}
.hero-title .t-aba { color: white; }
.hero-title .t-kids { color: var(--yellow); }
.hero-title .t-plus { color: var(--pink); }

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--yellow);
  color: #333;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(248,180,46,0.4);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(248,180,46,0.5); color: #333; }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: white; }

.hero-illustration {
  position: absolute;
  right: 60px;
  bottom: 0;
  z-index: 2;
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-illustration img { width: 400px; max-width: 40vw; }

/* ── WAVE ── */
.wave-divider { display:block;width:100%;overflow:hidden;line-height:0; }
.wave-divider svg { display:block; }

/* ── SECTIONS GENERAL ── */
.section-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-title { font-size: clamp(1.8rem,3.5vw,2.8rem); margin-bottom: 18px; }

/* ── ABOUT ── */
.about-section { background: var(--cream); padding: 80px 60px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text .section-label { color: var(--teal); }
.about-text .section-title span { color: var(--pink); }
.about-text p { color: #666; font-size: 1.05rem; line-height: 1.8; margin-bottom: 18px; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number { font-family:'Fredoka One',cursive;font-size:2.4rem;display:block;margin-bottom:4px; }
.stat-label { font-size:0.82rem;font-weight:700;color:#999; }

.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-card {
  border-radius: 22px;
  padding: 28px 22px;
  color: white;
  font-weight: 700;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s;
}
.about-card:hover { transform: scale(1.03); }
.about-card.span2 { grid-column: span 2; min-height: 100px; }
.about-card .ac-icon { font-size: 2.2rem; margin-bottom: 8px; }
.ac1{background:var(--teal)}.ac2{background:var(--pink)}.ac3{background:var(--yellow);color:#333}.ac4{background:var(--blue)}

/* ── SERVICES ── */
.services-section { background: white; padding: 80px 60px; }
.services-header { text-align: center; max-width: 580px; margin: 0 auto 56px; }
.services-header .section-label { color: var(--pink); }
.services-header .section-title span { color: var(--teal); }
.services-header p { color: #777; font-size: 1rem; line-height: 1.7; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  border-radius: 26px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.service-card::before {
  content:'';position:absolute;top:-40px;right:-40px;
  width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,0.1);
}
.sc1{background:linear-gradient(135deg,var(--teal),#007a88)}
.sc2{background:linear-gradient(135deg,var(--pink),#c91050)}
.sc3{background:linear-gradient(135deg,var(--yellow),#e09800)}
.sc4{background:linear-gradient(135deg,var(--blue),#035baa)}
.sc5{background:linear-gradient(135deg,var(--coral),#d84232)}
.sc6{background:linear-gradient(135deg,#8e44ad,#6c3483)}

.service-icon { font-size:2.6rem;margin-bottom:14px;display:block; }
.service-card h3 { font-size:1.35rem;color:white;margin-bottom:10px; }
.service-card p { color:rgba(255,255,255,0.85);font-size:0.92rem;line-height:1.6; }

/* ── ABA SECTION ── */
.aba-section {
  background: var(--teal);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.aba-section::before {
  content:'ABA';
  position:absolute;
  font-family:'Fredoka One',cursive;
  font-size:20rem;
  color:rgba(255,255,255,0.05);
  right:-2rem;bottom:-3rem;
  line-height:1;pointer-events:none;
}
.aba-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.aba-text .section-label { color: var(--yellow); }
.aba-text .section-title { color: white; }
.aba-text .section-title span { color: var(--yellow); }
.aba-text p { color: rgba(255,255,255,0.88);font-size:1.05rem;line-height:1.8;margin-bottom:14px; }

.aba-pills { display:flex;flex-wrap:wrap;gap:10px;margin-top:22px; }
.pill {
  background:rgba(255,255,255,0.15);
  border:2px solid rgba(255,255,255,0.3);
  color:white;padding:8px 20px;
  border-radius:50px;font-weight:700;font-size:0.88rem;
}

.aba-cards { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
.aba-card {
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:18px;padding:26px 20px;text-align:center;
  transition:background 0.2s;
}
.aba-card:hover{background:rgba(255,255,255,0.2);}
.aba-card .aca-icon{font-size:2.2rem;margin-bottom:10px;}
.aba-card h4{color:var(--yellow);font-family:'Fredoka One',cursive;font-size:1.1rem;margin-bottom:6px;}
.aba-card p{color:rgba(255,255,255,0.8);font-size:0.85rem;line-height:1.5;}

/* ── INTENSIVO ── */
.intensivo-section { background: var(--cream); padding: 80px 60px; }
.intensivo-header { text-align:center;margin-bottom:48px; }
.intensivo-header .section-label { color: var(--blue); }
.intensivo-header .section-title span { color: var(--blue); }
.intensivo-header p { color:#777;max-width:520px;margin:0 auto;font-size:1rem;line-height:1.7; }

.intensivo-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.int-card {
  background:white;border-radius:22px;padding:34px 26px;text-align:center;
  box-shadow:0 4px 30px rgba(0,0,0,0.07);
  border-top:5px solid;transition:transform 0.2s;
}
.int-card:hover{transform:translateY(-6px);}
.int-card:nth-child(1){border-color:var(--teal);}
.int-card:nth-child(2){border-color:var(--pink);}
.int-card:nth-child(3){border-color:var(--yellow);}
.int-icon{font-size:2.8rem;margin-bottom:14px;}
.int-card h3{font-size:1.3rem;color:#222;margin-bottom:10px;}
.int-card p{color:#777;font-size:0.92rem;line-height:1.6;}

/* ── BLOG / POSTS ── */
.blog-section { background: white; padding: 80px 60px; }
.blog-header { text-align:center;max-width:520px;margin:0 auto 50px; }
.blog-header .section-label { color: var(--coral); }
.blog-header .section-title span { color: var(--coral); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.post-card {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.post-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-thumbnail-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.post-body { padding: 24px; }
.post-category {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.post-title { font-size: 1.2rem; color: #222; margin-bottom: 10px; line-height: 1.3; }
.post-title a { color: #222; transition: color 0.2s; }
.post-title a:hover { color: var(--teal); }
.post-excerpt { color: #777; font-size: 0.9rem; line-height: 1.6; margin-bottom: 18px; }
.post-meta { font-size: 0.8rem; color: #aaa; font-weight: 600; }
.read-more {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  transition: background 0.2s;
  margin-top: 4px;
}
.read-more:hover { background: #007a88; color: white; }

/* ── CONTACT ── */
.contact-section { background: var(--pink); padding: 80px 60px; position: relative; overflow: hidden; }
.contact-section::after {
  content:'🧩';position:absolute;font-size:15rem;
  right:-2rem;top:50%;transform:translateY(-50%);
  opacity:0.07;pointer-events:none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-text .section-label { color: var(--yellow); }
.contact-text .section-title { color: white; }
.contact-text p { color:rgba(255,255,255,0.88);font-size:1.05rem;line-height:1.7;margin-top:14px; }

.contact-items { display:flex;flex-direction:column;gap:18px;margin-top:28px; }
.contact-item {
  display:flex;align-items:center;gap:16px;
  color:white;text-decoration:none;font-weight:700;font-size:1rem;
  transition:opacity 0.2s;
}
.contact-item:hover{opacity:0.8;color:white;}
.ci-icon {
  width:50px;height:50px;
  background:rgba(255,255,255,0.2);border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;flex-shrink:0;transition:background 0.2s;
}
.contact-item:hover .ci-icon{background:rgba(255,255,255,0.35);}
.ci-label{font-size:0.75rem;opacity:0.7;font-weight:600;margin-bottom:2px;}

.map-card {
  background:white;border-radius:26px;overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,0.15);
}
.map-card iframe { width:100%;height:280px;border:none;display:block; }
.map-footer-card { padding:18px 22px; }
.map-footer-card strong { font-family:'Fredoka One',cursive;font-size:1rem;color:var(--teal);display:block;margin-bottom:4px; }
.map-footer-card span { font-size:0.86rem;color:#888; }

/* ── FOOTER ── */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.65);
  padding: 40px 60px;
  text-align: center;
}
.footer-logo { font-family:'Fredoka One',cursive;font-size:2rem;margin-bottom:10px; }
.footer-logo .fl-aba { color: var(--teal); }
.footer-logo .fl-plus { color: var(--yellow); }
.site-footer p { font-size:0.9rem;margin-bottom:6px; }
.footer-social { display:flex;gap:12px;justify-content:center;margin:18px 0 10px; }
.social-btn {
  width:44px;height:44px;background:rgba(255,255,255,0.1);
  border-radius:12px;display:flex;align-items:center;justify-content:center;
  color:white;text-decoration:none;font-size:1.2rem;transition:background 0.2s;
}
.social-btn:hover{background:var(--pink);color:white;}

/* ── SINGLE POST ── */
.single-post-wrap { max-width:780px;margin:120px auto 80px;padding:0 30px; }
.single-post-wrap h1 { font-size:2.2rem;color:#222;margin-bottom:16px; }
.post-meta-full { color:#aaa;font-size:0.9rem;margin-bottom:32px;font-weight:600; }
.single-post-wrap .post-content { font-size:1.05rem;line-height:1.85;color:#444; }
.single-post-wrap .post-content h2 { color:var(--teal);margin:32px 0 12px; }
.single-post-wrap .post-content p { margin-bottom:18px; }
.single-post-wrap .post-content img { border-radius:16px;margin:24px 0; }
.post-featured-img { width:100%;height:380px;object-fit:cover;border-radius:22px;margin-bottom:32px; }

/* ── FADE ANIMATION ── */
.fade-up { opacity:0;transform:translateY(28px);transition:opacity 0.6s ease,transform 0.6s ease; }
.fade-up.visible { opacity:1;transform:translateY(0); }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .site-header{padding:14px 20px;}
  .main-navigation{display:none;position:absolute;top:70px;left:0;right:0;background:var(--cream);padding:20px;box-shadow:0 10px 30px rgba(0,0,0,0.1);}
  .main-navigation.open{display:block;}
  .main-navigation ul{flex-direction:column;gap:12px;}
  .menu-toggle{display:flex;}
  .hero{padding:100px 24px 60px;flex-direction:column;}
  .hero-illustration{position:relative;right:auto;bottom:auto;text-align:center;margin-top:30px;}
  .hero-illustration img{max-width:260px;}
  .about-section,.services-section,.aba-section,.intensivo-section,.blog-section,.contact-section{padding:60px 24px;}
  .about-grid,.aba-inner,.contact-inner{grid-template-columns:1fr;gap:36px;}
  .about-visual{display:none;}
  .intensivo-grid{grid-template-columns:1fr;}
  .site-footer{padding:40px 24px;}
  .single-post-wrap{margin:100px auto 60px;}
}
