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

:root {
  --green:       #4E8B73;
  --green-dark:  #2F5D50;
  --green-light: #EAF3EE;
  --black:       #1F1F1F;
  --white:       #FFFFFF;
  --gray:        #6B7280;
  --gray-light:  #F7F7F7;
  --radius:      10px;
  --shadow:      0 2px 16px rgba(47,93,80,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { color: var(--gray); }
p.lead { font-size: 1.1rem; color: var(--black); }

/* ===== LAYOUT UTILS ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.text-center { text-align: center; }
.text-green  { color: var(--green); }

.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter .2s, transform .15s;
  border: none;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--green); color: var(--white); }
.btn-outline  { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-white    { background: var(--white); color: var(--green-dark); }
.btn-whatsapp { background: #25D366; color: var(--white); }

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #E5EDE9;
  padding: 1rem 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo strong { font-size: 1.1rem; color: var(--green-dark); }
.nav-logo span   { font-size: .75rem; color: var(--gray); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--black);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta { white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav-toggle svg { display: block; }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid #E5EDE9;
}
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--black); }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 90px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content { max-width: 560px; }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero p.lead { color: rgba(255,255,255,.88); margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 2rem;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-card-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card-item:first-child { padding-top: 0; }

.hero-card-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 20px; height: 20px; }

.hero-card-item strong { display: block; color: var(--white); font-size: .95rem; }
.hero-card-item span  { font-size: .82rem; color: rgba(255,255,255,.72); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--green-light);
  padding: 1.5rem 0;
  border-bottom: 1px solid #D3E8DB;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--green-dark);
}
.trust-item svg { width: 18px; height: 18px; color: var(--green); }

/* ===== WHO WE HELP ===== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.help-card {
  background: var(--white);
  border: 1px solid #D9EDE4;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.help-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(47,93,80,.14); }

.help-card-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.help-card-icon svg { width: 24px; height: 24px; color: var(--green); }
.help-card h3 { color: var(--green-dark); margin-bottom: .5rem; }
.help-card p  { font-size: .9rem; }

/* ===== HOW IT WORKS ===== */
.how-bg { background: var(--green-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { color: var(--green-dark); margin-bottom: .4rem; }
.step p  { font-size: .88rem; }

/* ===== METHODS SECTION ===== */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.method-card {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
}
.method-card h3 { color: var(--green-dark); margin-bottom: .35rem; font-size: 1rem; }
.method-card p  { font-size: .87rem; }

/* ===== TABS (Convênio / FAQ) ===== */
.tabs { margin-top: 2rem; }
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.tab-btn {
  background: var(--green-light);
  color: var(--green-dark);
  border: 2px solid transparent;
  border-radius: 100px;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid #D9EDE4;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  text-align: left;
  gap: 1rem;
  color: var(--black);
}
.faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--green); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: .75rem 1.25rem 1.1rem;
  font-size: .9rem;
  color: var(--gray);
  background: var(--green-light);
  border-top: 1px solid #D9EDE4;
}
.faq-item.open .faq-a { display: block; }

/* ===== AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.area-card {
  background: var(--white);
  border: 1px solid #D9EDE4;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.area-card h4 {
  color: var(--green-dark);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.area-card h4 svg { width: 16px; height: 16px; color: var(--green); }
.area-card ul { list-style: none; }
.area-card ul li {
  font-size: .85rem;
  color: var(--gray);
  padding: .15rem 0;
}
.area-card ul li::before { content: "·  "; color: var(--green); font-weight: 700; }

.hours-box {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.hours-box h3 { color: var(--white); margin-bottom: .5rem; }
.hours-table { display: grid; gap: .4rem; }
.hours-row   { display: flex; gap: 1.5rem; font-size: .9rem; }
.hours-row span:first-child { min-width: 140px; opacity: .8; }
.hours-row span:last-child  { font-weight: 600; color: #A8D5BE; }

/* ===== ABOUT PREVIEW ===== */
.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--green-light);
  border-radius: 16px;
  border: 3px solid var(--green);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--green-light);
  border-radius: 16px;
  border: 3px solid var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--green);
}
.about-photo-placeholder svg { width: 64px; height: 64px; opacity: .4; }
.about-photo-placeholder span { font-size: .85rem; opacity: .6; }

.about-content h2 { margin-bottom: .75rem; }
.about-content p  { margin-bottom: 1rem; }

.crefito-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-light);
  border: 1px solid #C3DDD0;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .85rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: .5rem;
  margin-bottom: 1.25rem;
}

.about-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-placeholder { max-width: 280px; margin: 0 auto; aspect-ratio: 1; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto 2rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand strong { color: var(--white); font-size: 1rem; display: block; margin-bottom: .3rem; }
.footer-brand p      { font-size: .85rem; margin-top: .5rem; }
.footer-brand .crefito { font-size: .78rem; margin-top: .75rem; color: rgba(255,255,255,.45); }

.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: .85rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .87rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.25rem;
  font-size: .8rem;
}

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}

.whatsapp-bubble {
  background: var(--white);
  color: var(--black);
  font-size: .83rem;
  font-weight: 500;
  padding: .55rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-bubble {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-btn svg   { width: 30px; height: 30px; }

/* ===== SECTION HEADINGS ===== */
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p  { max-width: 560px; font-size: 1rem; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .hero       { padding: 60px 0 50px; }
  .hours-box  { flex-direction: column; align-items: flex-start; }
}
