/*
Theme Name: ICD - Instituto Casa Despertar
Theme URI: https://institutocasadespertar.org.br
Author: ICD Dev Team
Author URI: https://institutocasadespertar.org.br
Description: Tema institucional do Instituto Casa Despertar – transparência, impacto e esperança.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: icd
Tags: custom-menu, full-width-template, theme-options, footer-widgets
*/

/* ============================================================
   1. DESIGN TOKENS (Custom Properties)
   ============================================================ */
:root {
  /* Cores primárias */
  --color-primary: #45515d;
  --color-primary-dark: #343f49;
  --color-secondary: #596875;

  /* Apoio e destaque */
  --color-green: #7faf48;
  --color-green-hover: #6a9a38;
  --color-orange: #7faf48;
  --color-orange-hover: #6a9a38;

  /* Neutros */
  --color-white: #FFFFFF;
  --color-bg: #F5F7FA;
  --color-gray-mid: #6B7280;
  --color-gray-dark: #1F2937;

  /* Tipografia */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Tamanhos */
  --h1: 3rem;
  /* 48px */
  --h2: 2.25rem;
  /* 36px */
  --h3: 1.75rem;
  /* 28px */
  --body-text: 1rem;

  /* Linha */
  --lh-heading: 1.2;
  --lh-body: 1.625;

  /* Espaços (base 8px) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-8: 4rem;
  --sp-10: 5rem;

  /* Container */
  --container-max: 1200px;
  --container-px: 1.5rem;

  /* Seção */
  --section-py: 5rem;

  /* Bordas */
  --br-sm: 4px;
  --br-md: 8px;
  --br-lg: 12px;
  --br-xl: 20px;
  --br-full: 9999px;

  /* Sombras */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 16px rgba(0, 0, 0, 0.08);

  /* Transição */
  --transition: 0.3s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-text);
  line-height: var(--lh-body);
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-green);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  color: var(--color-primary);
  font-weight: 700;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.icd-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.icd-section {
  padding-block: var(--section-py);
}

.icd-section--alt {
  background-color: var(--color-bg);
}

.icd-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-4);
}

.icd-text-center {
  text-align: center;
}

/* ============================================================
   4. BOTÕES
   ============================================================ */
.icd-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--br-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.icd-btn--primary {
  background-color: var(--color-green);
  color: var(--color-white);
}

.icd-btn--primary:hover {
  background-color: var(--color-green-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(127, 175, 72, 0.4);
}

.icd-btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.icd-btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.icd-btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.icd-btn--white:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.icd-btn--outline-white {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.icd-btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

/* ============================================================
   5. HEADER
   ============================================================ */
.icd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  height: 80px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), height var(--transition);
}

.icd-header.scrolled {
  box-shadow: var(--shadow-header);
  height: 68px;
}

.icd-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.icd-header__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.icd-header__logo img {
  height: 60px;
  /* Logo começa um pouco maior */
  width: auto;
  display: block;
  object-fit: contain;
  transition: height var(--transition);
}

.icd-header.scrolled .icd-header__logo img {
  height: 48px;
  /* Reduz ao scrollar */
}

.icd-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.icd-header__logo-abbr {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.icd-header__logo-full {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .7rem;
  color: var(--color-gray-mid);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Nav */
.icd-nav {
  display: flex;
  align-items: center;
}

.icd-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.icd-nav a {
  display: block;
  padding: .5rem .75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-gray-dark);
  border-radius: var(--br-sm);
  transition: background-color var(--transition), color var(--transition);
}

.icd-nav a:hover,
.icd-nav .current-menu-item a {
  color: var(--color-green);
  background-color: rgba(127, 175, 72, 0.08);
}

.icd-nav__cta {
  margin-left: 1rem;
}

/* Burger */
.icd-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.icd-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HEADER — não quebrar em telas intermediárias
   ============================================================ */
@media (max-width: 960px) and (min-width: 769px) {
  .icd-nav a {
    font-size: .8rem;
    padding: .5rem .5rem;
  }

  .icd-nav__cta {
    margin-left: .5rem;
  }

  .icd-btn {
    padding: .75rem 1.25rem;
    font-size: .85rem;
  }
}

/* ============================================================
   6. HERO
   ============================================================ */
.icd-hero {
  padding-top: 80px;
  /* header height */
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
}

/* Foto de fundo */
.icd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay sobre a foto */
.icd-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(69, 81, 93, 0.78);
}

.icd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 3.5rem;
}

/* Foto à direita do hero */
.icd-hero__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icd-hero__photo img {
  width: 100%;
  max-width: 480px;
  height: 520px;
  object-fit: cover;
  border-radius: var(--br-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.icd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(127, 175, 72, 0.2);
  border: 1px solid rgba(127, 175, 72, 0.5);
  color: #a8d070;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem 1rem;
  border-radius: var(--br-full);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.icd-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.icd-hero__title span {
  color: #7faf48;
}

.icd-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.icd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.icd-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.icd-hero__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
  transition: color var(--transition);
}

.icd-hero__link:hover {
  color: var(--color-green);
}

.icd-hero__link svg {
  flex-shrink: 0;
}

/* ============================================================
   STATS BAR (abaixo do hero)
   ============================================================ */
.icd-stats-bar {
  background: var(--color-white);
  border-bottom: 1px solid rgba(69, 81, 93, 0.1);
  padding-block: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.icd-stats-bar__grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.icd-stats-bar__item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.icd-stats-bar__item+.icd-stats-bar__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(69, 81, 93, 0.15);
}

.icd-stats-bar__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--br-md);
  background: rgba(127, 175, 72, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-green);
}


.icd-stats-bar__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.icd-stats-bar__suffix {
  color: var(--color-green);
}

.icd-stats-bar__label {
  font-size: .825rem;
  color: var(--color-gray-mid);
  margin-top: .15rem;
}

/* Hero visual — foto à direita (estilos acima no .icd-hero__photo) */

/* ============================================================
   7. SECTION HEADER
   ============================================================ */
.icd-section-header {
  margin-bottom: 3.5rem;
}

.icd-section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: .75rem;
}

.icd-section-header__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
}

.icd-section-header__title {
  font-size: var(--h2);
  color: var(--color-primary);
  margin-bottom: .75rem;
}

.icd-section-header__text {
  font-size: 1.0625rem;
  color: var(--color-gray-mid);
  max-width: 640px;
}

.icd-section-header--center .icd-section-header__text {
  margin-inline: auto;
}

.icd-section-header--center .icd-section-header__eyebrow {
  justify-content: center;
}

/* ============================================================
   8. O QUE FAZEMOS — SERVICE CARDS
   ============================================================ */
.icd-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.icd-card {
  background: var(--color-white);
  border-radius: var(--br-lg);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.icd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.icd-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--br-md);
  background: rgba(69, 81, 93, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: background-color var(--transition), color var(--transition);
}

.icd-card:hover .icd-card__icon {
  background: var(--color-green);
  color: white;
}

.icd-card__title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: .75rem;
}

.icd-card__text {
  color: var(--color-gray-mid);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.icd-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: .875rem;
  color: var(--color-primary);
  transition: gap var(--transition), color var(--transition);
}

.icd-card__link:hover {
  color: var(--color-green);
  gap: .6rem;
}

/* ============================================================
   9. IMPACTO (COUNTER)
   ============================================================ */
.icd-impact {
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.icd-impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.icd-impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.icd-impact__item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--br-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition);
}

.icd-impact__item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icd-impact__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.icd-impact__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: .5rem;
}

.icd-impact__suffix {
  color: var(--color-green);
}

.icd-impact__label {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.4;
}

/* ============================================================
   10. AGENDA 2030
   ============================================================ */
.icd-agenda {
  background: var(--color-bg);
}

.icd-agenda__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.icd-agenda__text .icd-section-header {
  margin-bottom: 1.5rem;
}

.icd-agenda__body {
  color: var(--color-gray-mid);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.icd-ods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.icd-ods-badge {
  aspect-ratio: 1;
  border-radius: var(--br-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .75rem;
  color: white;
  text-align: center;
  padding: .5rem;
  transition: transform var(--transition);
}

.icd-ods-badge:hover {
  transform: scale(1.06);
}

.icd-ods-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ODS cores — paleta ICD */
.icd-ods-badge--1 {
  background: var(--color-primary);
}

.icd-ods-badge--2 {
  background: var(--color-primary-dark);
}

.icd-ods-badge--3 {
  background: var(--color-green);
}

.icd-ods-badge--4 {
  background: #6a9a38;
}

.icd-ods-badge--10 {
  background: var(--color-secondary);
}

.icd-ods-badge--11 {
  background: #3e4e5a;
}

.icd-ods-badge--16 {
  background: var(--color-primary-dark);
}

.icd-ods-badge--17 {
  background: #7faf48;
}

/* Imagem Agenda 2030 */
.icd-agenda__image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--br-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.icd-agenda__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SEJA PARCEIRO — PARALLAX
   ============================================================ */
.icd-parallax {
  position: relative;
  padding-block: 8rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.icd-parallax__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/parallax-bg.webp');
  /* Precisa ser configurada essa imagem na pasta */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.icd-parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(56, 68, 78, 0.85);
  /* Overlay #38444e com opacidade para leitura */
  z-index: 1;
}

.icd-parallax__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-inline: var(--container-px);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icd-parallax__eyebrow {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.icd-parallax__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.icd-parallax__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ============================================================
   11. TRANSPARÊNCIA
   ============================================================ */
.icd-transparency__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.icd-transparency-card {
  background: var(--color-white);
  border-radius: var(--br-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--color-green);
  text-decoration: none;
  color: inherit;
}

.icd-transparency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  color: inherit;
}

.icd-transparency-card__icon {
  font-size: 2rem;
  color: var(--color-primary);
}

.icd-transparency-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.icd-transparency-card__text {
  font-size: .9rem;
  color: var(--color-gray-mid);
  line-height: 1.6;
  flex: 1;
}

.icd-transparency-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-green);
  transition: gap var(--transition), color var(--transition);
}

.icd-transparency-card:hover .icd-transparency-card__arrow {
  gap: .6rem;
}

/* ============================================================
   12. VOLUNTARIADO
   ============================================================ */
.icd-volunteer {
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.icd-volunteer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(127, 175, 72, .1) 0%, transparent 60%);
  pointer-events: none;
}

.icd-volunteer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.icd-volunteer__title {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.icd-volunteer__title span {
  color: var(--color-green);
}

.icd-volunteer__text {
  color: rgba(255, 255, 255, .75);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 560px;
}

.icd-volunteer__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.icd-footer {
  background: var(--color-gray-dark);
  color: rgba(255, 255, 255, .7);
  padding-top: 4rem;
}

.icd-footer__body {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.icd-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.icd-footer__brand-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: var(--br-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icd-footer__brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.icd-footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
}

.icd-footer__about {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.icd-footer__social {
  display: flex;
  gap: .75rem;
}

.icd-footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--br-md);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.icd-footer__social-link:hover {
  background-color: var(--color-green);
  color: white;
  border-color: var(--color-green);
}

.icd-footer__col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: white;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-green);
  display: inline-block;
}

.icd-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.icd-footer__col a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition), padding-left var(--transition);
}

.icd-footer__col a:hover {
  color: var(--color-green);
  padding-left: .35rem;
}

.icd-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.icd-footer__contact-item svg {
  margin-top: .1rem;
  flex-shrink: 0;
}

.icd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: .825rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.icd-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.icd-footer__bottom-links a {
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.icd-footer__bottom-links a:hover {
  color: var(--color-green);
}

/* ============================================================
   14. FADE-IN ANIMATION (Scroll)
   ============================================================ */
.icd-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.icd-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.icd-fade-in--delay-1 {
  transition-delay: .1s;
}

.icd-fade-in--delay-2 {
  transition-delay: .2s;
}

.icd-fade-in--delay-3 {
  transition-delay: .3s;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP (SONAR)
   ============================================================ */

/* Animação do Sonar */
@keyframes sonar {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.icd-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--color-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform var(--transition), background-color var(--transition);
}

.icd-floating-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-green);
  border-radius: 50%;
  z-index: -1;
  animation: sonar 2s infinite ease-out;
}

.icd-floating-btn:hover {
  transform: scale(1.08) translateY(-4px);
  background-color: var(--color-green-hover);
  color: white;
}

.icd-floating-btn svg {
  color: white !important;
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 4rem;
  }

  .icd-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .icd-hero__photo {
    display: none;
  }

  .icd-agenda__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .icd-impact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icd-footer__body {
    grid-template-columns: 1fr 1fr;
  }

  .icd-stats-bar__item {
    min-width: 160px;
  }

  .icd-parallax {
    padding-block: 6rem;
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  :root {
    --h1: 2.25rem;
    --h2: 1.875rem;
    --h3: 1.5rem;
    --section-py: 3rem;
  }

  .icd-nav {
    display: none;
  }

  .icd-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem var(--container-px);
    box-shadow: var(--shadow-header);
  }

  .icd-nav.is-open ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .icd-nav.is-open a {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .icd-burger {
    display: flex;
  }

  .icd-services__grid {
    grid-template-columns: 1fr;
  }

  .icd-impact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icd-transparency__grid {
    grid-template-columns: 1fr;
  }

  .icd-volunteer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .icd-footer__body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .icd-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .icd-footer__bottom-links {
    justify-content: center;
  }

  .icd-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .icd-ods-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .icd-floating-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .icd-impact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .icd-ods-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   16. WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.wp-block-image img,
.wp-block-cover img {
  border-radius: var(--br-md);
}

.aligncenter {
  margin-inline: auto;
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}