/* =========================================================
   FLORES DE AFETO
   CSS puro — sem Tailwind, Bootstrap ou frameworks
   ========================================================= */

:root {
  --verde: #315c3b;
  --verde-escuro: #23452c;
  --verde-claro: #e8f1e8;
  --laranja: #d77a2d;
  --laranja-claro: #fff0df;
  --amarelo: #f4d36d;
  --creme: #fbf4e8;
  --texto: #2f342f;
  --cinza: #687168;
  --borda: #e1e5df;
  --branco: #ffffff;
  --sombra: 0 10px 30px rgba(35, 69, 44, 0.09);
  --sombra-forte: 0 18px 45px rgba(35, 69, 44, 0.16);
  --raio: 24px;
  --largura: 1180px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--branco);
  color: var(--texto);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.35rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
p {
  color: var(--cinza);
}
/* ===== CONTAINER ===== */

.mx-auto,
.container {
  width: min(var(--largura), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
/* ===== CABEÇALHO ===== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(225, 229, 223, 0.85);
  backdrop-filter: blur(14px);
}
header > div {
  min-height: 72px;
}
header a {
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
header nav a:hover{
  background: var(--verde-claro);
}
header .flex.items-center.gap-2 > a {
  white-space: nowrap;
}
/* Logo */

header a > span:first-child {
  flex-shrink: 0;
}
header a .font-display {
  white-space: nowrap;
}
/* ===== BOTÕES ===== */

.bg-accent,
.bg-info {
  border: 0;
}
.bg-accent {
  background: var(--laranja) !important;
  color: #fff !important;
}
.bg-info {
  background: #427b70 !important;
  color: #fff !important;
}
.bg-accent:hover,
.bg-info:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.border-2 {
  border-width: 2px !important;
}
.border-primary\/30 {
  border-color: rgba(49, 92, 59, .30) !important;
}
/* ===== HERO ===== */

.bg-hero-warm {
  background:
    radial-gradient(circle at 90% 15%, rgba(244, 211, 109, .30), transparent 28%),
    linear-gradient(135deg, #fff8ea 0%, #f8f1e5 55%, #edf4eb 100%);
}
.bg-hero-warm > div {
  min-height: 650px;
}
.bg-hero-warm h1 {
  max-width: 760px;
  color: var(--verde);
}
.bg-hero-warm p {
  max-width: 650px;
}
.bg-hero-warm .relative > div:first-child {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--sombra-forte);
}
.bg-hero-warm .relative > div:first-child img {
  min-height: 480px;
  object-fit: cover;
}
.bg-hero-warm .absolute {
  z-index: 2;
}
/* ===== SEÇÕES ===== */

.section-pad {
  padding: 24px 0;
}
.section-pad > .mx-auto {
  position: relative;
}
.bg-cream {
  background: var(--creme);
}
.bg-green-gradient {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
}
/* ===== SOBRE ===== */
#sobre {
  padding-top: 110px;
  padding-bottom: 110px;
}

#sobre > div {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

#sobre > div > div:first-child {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow:
    0 14px 35px rgba(35, 69, 44, 0.12);
}

#sobre > div > div:first-child img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#sobre > div > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

#sobre > div > div:last-child > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--laranja);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#sobre h2 {
  max-width: 600px;
  margin: 0;
  color: var(--verde);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
}


#sobre > div > div:last-child > p {
  max-width: 600px;
  margin-top: 20px;
  color: var(--cinza);
  font-size: 1rem;
  line-height: 1.75;
}

#sobre > div > div:last-child > div {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

#sobre > div > div:last-child > div > div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border:
    1px solid
    rgba(49, 92, 59, 0.08);
  border-radius: 18px;
  background: #f0f4ee;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

#sobre > div > div:last-child > div > div:hover {
  transform: translateY(-4px);
  background: #e8f1e8;
  box-shadow:
    0 10px 24px rgba(35, 69, 44, 0.08);
}

#sobre > div > div:last-child
> div > div > span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--verde-claro);
  color: var(--verde);
}

#sobre > div > div:last-child
> div > div > h3 {
  margin-top: 15px;
  color: var(--texto);
  font-size: 1rem;
  font-weight: 800;
}

#sobre > div > div:last-child
> div > div > p {
  margin-top: 7px;
  color: var(--cinza);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 900px) {

  #sobre > div {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #sobre > div > div:first-child {
    height: 420px;
  }

  #sobre > div > div:last-child {
    min-height: auto;
  }

}

@media (max-width: 600px) {

  #sobre {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #sobre > div {
    gap: 30px;
  }

  #sobre > div > div:first-child {
    height: 300px;
    border-radius: 22px;
  }

  #sobre > div > div:last-child > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #sobre > div > div:last-child
  > div > div {
    min-height: auto;
    padding: 18px;
  }

}
/* ===== NÚMEROS ===== */

.bg-green-gradient .font-display {
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}
.bg-green-gradient p {
  color: rgba(255, 255, 255, .84);
}
/* ===== PROJETOS ===== */

#projetos article {
  min-height: 300px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 26px;
  box-shadow: var(--sombra);
  transition: transform .25s ease, box-shadow .25s ease;
}
#projetos article:hover {
  transform: translateY(-7px);
  box-shadow: var(--sombra-forte);
}
#projetos article > span:first-child {
  flex-shrink: 0;
}
#projetos article h3 {
  color: var(--texto);
}
#projetos article p {
  font-size: .94rem;
}

#projetos{
  height: 850px;
}
/* ===== DEPOIMENTOS ===== */

#depoimentos figure {
  height: 100%;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--sombra);
}
#depoimentos blockquote {
  color: var(--texto);
}
#depoimentos figcaption {
  border-color: var(--borda);
}
/* ===== NOTÍCIAS ===== */

#noticias article {
  height: 100%;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--sombra);
  transition: transform .2s ease, box-shadow .2s ease;
}
#noticias article:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-forte);
}
/* ===== CTA ===== */

.pb-20 {
  padding-bottom: 80px;
}
.pb-20 > div > div {
  padding: 58px 40px;
  border-radius: 30px;
  background: var(--laranja-claro);
  text-align: center;
}
.pb-20 h2 {
  color: var(--verde);
}
.pb-20 p {
  max-width: 700px;
  margin: 16px auto 0;
}
/* ===== RODAPÉ ===== */

footer {
  color: #fff;
}
footer.bg-green-gradient {
  padding-top: 58px;
  padding-bottom: 25px;
}
footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, .84);
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
footer input::placeholder {
  color: rgba(255,255,255,.60);
}
footer input:focus {
  border-color: rgba(255,255,255,.70);
}
/* ===== FORMULÁRIO ADICIONADO ===== */

.contact-section {
  background: #fff;
}
.contact-grid {
  display: grid;
  gap: 55px;
}
.contact-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 26px;
  box-shadow: var(--sombra);
}
.contact-form label {
  color: var(--texto);
  font-weight: 700;
  font-size: .9rem;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d4dad2;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--texto);
  outline: none;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(49,92,59,.12);
}
.contact-form button:disabled {
  opacity: .7;
  cursor: default;
}
/* ===== ELEMENTOS AUXILIARES ===== */

.cta-section {
  padding: 15px 0;
  background: var(--verde);
  color: #fff;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
}
.cta-section h2 {
  margin-top: 8px;
}
.cta-section p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255,255,255,.84);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.10);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}

#form-contato {
  height: 600px;
}

/* ===== CLASSES BÁSICAS USADAS PELO HTML ORIGINAL =====
   Estas não são classes Tailwind funcionais;
são apenas
   nomes de apresentação mantidos para o HTML existente. */

.flex {
  display: flex;
}
.grid {
  display: grid;
}
.block {
  display: block;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-col {
  flex-direction: column;
}
.gap-1 {
  gap: 4px;
}
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 12px;
}
.gap-4 {
  gap: 16px;
}
.gap-6 {
  gap: 24px;
}
.gap-8 {
  gap: 32px;
}
.gap-10 {
  gap: 40px;
}
.gap-12 {
  gap: 48px;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.max-w-2xl {
  max-width: 1200px;
}
.max-w-xl {
  max-width: 700px;
}
.p-5 {
  padding: 20px;
}
.p-7 {
  padding: 28px;
}
.p-9 {
  padding: 36px;
}
.px-5 {
  padding-left: 20px;
  padding-right: 20px;
}
.py-14 {
  padding-bottom: 56px;
}
.py-20 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.mt-1 {
  margin-top: 4px;
}
.mt-2 {
  margin-top: 8px;
}
.mt-3 {
  margin-top: 12px;
}
.mt-4 {
  margin-top: 16px;
}
.mt-5 {
  margin-top: 20px;
}
.mt-6 {
  margin-top: 24px;
}
.mt-7 {
  margin-top: 28px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-10 {
  margin-top: 40px;
}
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--verde);
}
.text-accent {
  color: var(--laranja);
}
.text-info {
  color: #427b70;
}
.text-foreground {
  color: var(--texto);
}
.text-muted-foreground {
  color: var(--cinza);
}
.text-primary-foreground {
  color: #fff;
}
.bg-card {
  background: #fff;
}
.bg-secondary {
  background: #f0f4ee;
}
.bg-primary-soft {
  background: var(--verde-claro);
}
.bg-accent-soft {
  background: var(--laranja-claro);
}
.bg-sun {
  background: var(--amarelo);
}
.bg-sun-soft {
  background: #fff7d9;
}
.rounded-2xl {
  border-radius: 16px;
}
.rounded-3xl {
  border-radius: 26px;
}
.rounded-4xl {
  border-radius: 32px;
}
.overflow-hidden {
  overflow: hidden;
}
.object-cover {
  object-fit: cover;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-extrabold {
  font-weight: 800;
}
.font-display {
  font-family: Georgia, "Times New Roman", serif;
}
.text-xs {
  font-size: .75rem;
}
.text-sm {
  font-size: .9rem;
}
.text-lg {
  font-size: 1.1rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-3xl {
  font-size: 2rem;
}
.text-4xl {
  font-size: 2.6rem;
}
.uppercase {
  text-transform: uppercase;
}
.underline {
  text-decoration: underline;
}
.shadow-soft {
  box-shadow: var(--sombra);
}
.shadow-lift {
  box-shadow: var(--sombra-forte);
}
.border {
  border: 1px solid var(--borda);
}
.border-border {
  border-color: var(--borda);
}
.hidden {
  display: none !important;
}
/* ===== RESPONSIVIDADE ===== */

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  header .hidden.sm\:inline-flex {
    display: inline-flex !important;
  }
  .bg-hero-warm > div {
    min-height: auto;
  }
  .bg-hero-warm .relative > div:first-child img {
    min-height: 380px;
  }
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  .mx-auto,
  .container {
    width: calc(100% - 28px);
  }
  .section-pad {
    padding: 30px 0;
  }
  .bg-hero-warm > div {
    padding-top: 48px;
    padding-bottom: 60px;
  }
  .bg-hero-warm .flex-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .bg-hero-warm .flex-wrap a {
    width: 100%;
  }
  .bg-hero-warm .relative > div:first-child img {
    min-height: 280px;
    max-height: 390px;
  }
  .bg-hero-warm .absolute {
    display: none;
  }
  #sobre .grid,
  #projetos .grid {
    grid-template-columns: 1fr !important;
  }
  #sobre img {
    min-height: 280px;
  }
  .contact-grid {
    gap: 30px;
  }
  .contact-form {
    padding: 22px;
  }
  .cta-section {
    padding: 10px 0;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions a {
    flex: 1;
  }
  .pb-20 > div > div {
    padding: 38px 20px;
  }
  .bg-green-gradient .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
  header > div {
    width: calc(100% - 28px);
  }
  header .font-display {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 2.35rem;
  }
  h2 {
    font-size: 1.9rem;
  }
  .bg-green-gradient .grid {
    grid-template-columns: 1fr !important;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions a {
    width: 100%;
  }
}
/* ===== PÁGINA DE NOTÍCIAS ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--borda);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--verde);
  font-weight: 800;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-claro);
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: .2s ease;
}
.main-nav a:hover{
  color: var(--verde);
  background: var(--verde-claro);
}
.header-button {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--laranja);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  transition: .2s ease;
}
.header-button:hover {
  transform: translateY(-2px);
}
.news-hero {
  padding: 90px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(244,211,109,.35), transparent 25%),
    linear-gradient(135deg, #fff8ea, #edf4eb);
}
.news-hero h1 {
  margin-top: 10px;
  color: var(--verde);
}
.news-hero p {
  max-width: 650px;
  margin-top: 14px;
  font-size: 1.08rem;
}
.news-page {
  background: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sombra);
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-forte);
}
.news-image-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  font-size: 4rem;
  background: var(--verde-claro);
}
.news-card:nth-child(2) .news-image-placeholder {
  background: var(--laranja-claro);
}
.news-card:nth-child(3) .news-image-placeholder {
  background: #fff7d9;
}
.news-content {
  padding: 26px;
}
.news-category {
  color: var(--laranja);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.news-content h2 {
  margin-top: 9px;
  color: var(--verde);
  font-size: 1.55rem;
}
.news-content p {
  margin-top: 12px;
}
.news-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--verde);
  font-weight: 800;
}
.news-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .header-button {
    display: none;
  }
  .news-hero {
    padding: 65px 0;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ESTRUTURA PRINCIPAL
   Garante que o rodapé fique no final da página.
   ========================================================= */

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  padding-top: 74px;
}

body > div {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > div > main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  background: #23452c;
  color: #ffffff;
}

/* =========================================================
   NOVO RODAPÉ
   ========================================================= */

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer-column {
  min-width: 0;
}

.footer-column h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.footer-column h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.footer-subtitle {
  margin-top: 2px;
  color: #b9c8bb;
  font-size: .82rem;
}

.footer-column > p:not(.footer-subtitle) {
  max-width: 300px;
  margin-top: 18px;
  color: #cbd5cd;
  font-size: .92rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-list li {
  margin: 0;
}

.footer-list a,
.footer-contact-link {
  color: #cbd5cd;
  font-size: .92rem;
  transition:
    color .2s ease,
    padding-left .2s ease;
}

.footer-list a:hover,
.footer-contact-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-bottom-content {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: #aebaae;
  font-size: .82rem;
}

.back-to-top {
  color: #ffffff;
  font-size: .82rem;
  font-weight: 700;
  transition: opacity .2s ease;
}

.back-to-top:hover {
  opacity: .75;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 28px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .footer-bottom-content {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   AJUSTES FINAIS — INDEX.HTML
   Botões + redes sociais no footer
   ========================================================= */

/* Todos os CTAs principais ficam no mesmo padrão arredondado. */
body:has(.bg-hero-warm) a.bg-accent,
body:has(.bg-hero-warm) a.bg-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}

body:has(.bg-hero-warm) a.bg-accent {
  background: var(--laranja) !important;
  color: #fff !important;
}

body:has(.bg-hero-warm) a.bg-info {
  background: var(--verde) !important;
  color: #fff !important;
}

body:has(.bg-hero-warm) a.bg-accent:hover,
body:has(.bg-hero-warm) a.bg-info:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* Botões com borda também seguem o mesmo acabamento. */
body:has(.bg-hero-warm) a[class*="border-primary"] {
  border-radius: 999px !important;
}

/* ===== REDES SOCIAIS ===== */

body:has(.bg-hero-warm) .footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

body:has(.bg-hero-warm) .footer-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.06);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

body:has(.bg-hero-warm) .footer-social-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

body:has(.bg-hero-warm) .footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 600px) {
  body:has(.bg-hero-warm) a.bg-accent,
  body:has(.bg-hero-warm) a.bg-info {
    min-height: 46px;
    padding: 10px 16px;
  }
}


/* =========================================================
   HEADER DO INDEX — MESMO PADRÃO VISUAL DO NOTICIAS.HTML
   Este bloco altera SOMENTE o header.
   ========================================================= */

/* Estrutura principal */
header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--borda);
  backdrop-filter: blur(12px);
}

header > div {
  width: min(var(--largura), calc(100% - 40px));
  min-height: 74px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
header > div > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--verde);
  font-weight: 800;
}

header > div > a:first-child > span:first-child {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--verde-claro);
}

header > div > a:first-child > span:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.15;
  white-space: nowrap;
}

/* Subtítulo da logo do INDEX fica igual ao NOTICIAS,
   que exibe somente "Flores de Afeto". */
header > div > a:first-child > span:last-child > span {
  display: none;
}

/* Navegação */
header > div > nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

header > div > nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--cinza) !important;
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  transition: .2s ease;
}

header > div > nav a:hover{
  background: var(--verde-claro) !important;
}

/* O INDEX não possui o botão "Quero ajudar" no HTML.
   Mantemos apenas o menu mobile existente. */
header > div > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

header > div > div > button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: transparent;
  color: var(--texto);
}

/* Tablet/mobile */
@media (max-width: 1023px) {
  header > div {
    width: calc(100% - 40px);
  }

  header > div > nav {
    display: none !important;
  }

  header > div > div > button {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  header > div {
    width: calc(100% - 28px);
    min-height: 74px;
  }

  header > div > a:first-child > span:last-child {
    font-size: 1rem;
  }
}

#contato-form {
  height: 200px;
  text-align: center;
}
/* =========================================================
   RESPONSIVIDADE FINAL + MENU MOBILE
   Apenas ajustes de responsividade e comportamento visual.
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

/* Botão mobile criado pelo JS na página de notícias. */
.mobile-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: #fff;
  color: var(--verde);
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}

.mobile-menu-button:hover,
.mobile-menu-button.is-open {
  background: var(--verde-claro);
  border-color: rgba(49, 92, 59, .25);
}

.mobile-menu-button:active {
  transform: scale(.96);
}

.mobile-menu-button svg {
  width: 20px;
  height: 20px;
}

/* Menu aberto no celular/tablet. */
.mobile-menu-open {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  position: absolute;
  top: calc(100% + 8px);
  left: 14px;
  right: 14px;
  padding: 10px;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--sombra-forte);
  backdrop-filter: blur(14px);
}

.mobile-menu-open a {
  display: block !important;
  width: 100%;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  text-align: left;
}

header > div,
.header-inner {
  position: relative;
}

/* ===== TABLETS ===== */
@media (max-width: 1023px) {
  .mx-auto,
  .container {
    width: min(var(--largura), calc(100% - 32px));
  }

  header > div > nav,
  .main-nav {
    display: none;
  }

  header > div > div > button[aria-label="Abrir menu"],
  header > div > div > button[aria-label="Fechar menu"],
  .mobile-menu-button {
    display: inline-flex;
  }

  #projetos,
  #form-contato,
  #contato-form {
    height: auto !important;
  }

  section.bg-green-gradient img {
    width: min(85%, 900px) !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain;
  }

  .news-grid {
    gap: 20px;
  }
}

/* ===== CELULARES ===== */
@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }

  header > div,
  .header-inner {
    min-height: 70px;
    width: calc(100% - 24px);
  }

  header > div > a:first-child > span:last-child,
  .brand-name {
    font-size: 1rem;
  }

  header > div > a:first-child > span:first-child,
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-open {
    left: 0;
    right: 0;
    top: calc(100% + 6px);
  }

  .bg-hero-warm > div {
    min-height: auto;
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .bg-hero-warm h1 {
    max-width: 100%;
  }

  .bg-hero-warm .relative > div:first-child img {
    width: 100%;
    min-height: 0;
    height: clamp(240px, 65vw, 360px);
    object-fit: cover;
  }

  .bg-hero-warm .flex-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .bg-hero-warm .flex-wrap a {
    width: 100%;
  }

  #sobre {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  #sobre > div {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  #sobre > div > div:first-child {
    width: 100%;
    height: clamp(260px, 65vw, 360px);
  }

  #sobre > div > div:last-child {
    min-height: auto;
  }

  #sobre > div > div:last-child > div {
    grid-template-columns: 1fr !important;
  }

  #projetos,
  #form-contato,
  #contato-form {
    height: auto !important;
  }

  #projetos .grid {
    grid-template-columns: 1fr !important;
  }

  #projetos article {
    min-height: auto;
  }

  section.bg-green-gradient img {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain;
  }

  .contact-grid,
  .cta-inner,
  .footer-container {
    grid-template-columns: 1fr !important;
  }

  .contact-form {
    width: 100%;
    padding: 20px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions a,
  .btn-outline-light,
  .btn-accent {
    width: 100%;
  }

  .news-hero {
    padding: 55px 0;
  }

  .news-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .news-grid {
    grid-template-columns: 1fr !important;
  }

  .news-content {
    padding: 22px;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== CELULARES PEQUENOS ===== */
@media (max-width: 420px) {
  .mx-auto,
  .container {
    width: calc(100% - 24px);
  }

  header > div,
  .header-inner {
    width: calc(100% - 20px);
  }

  header > div > a:first-child > span:first-child,
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  header > div > a:first-child > span:last-child,
  .brand-name {
    font-size: .95rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.1rem);
  }

  .section-pad {
    padding: 26px 0;
  }

  .contact-form {
    padding: 17px;
  }

  .news-card {
    border-radius: 20px;
  }

  .news-content h2 {
    font-size: 1.35rem;
  }
}
