/* ============================================================
   ACESSO SAÚDE – Landing Page
   style.css
   ============================================================ */

/* ── FONTE CUSTOMIZADA ── */
@font-face {
  font-family: 'AstralSisters';
  src: url('../assets/fonts/Astral_Sisters.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── CSS VARIABLES – Identidade Acesso Saúde ── */
:root {
  --brand-orange:   #e8681a;
  --brand-orange2:  #c9550d;
  --brand-gray:     #808285;
  --brand-gray-dark:#4a4a4a;
  --brand-teal:     #3ab5c0;
  --light-bg:       #f7f7f7;
  --white:          #ffffff;
  --text-dark:      #2a2a2a;
  --text-mid:       #555555;
  --text-light:     #888888;
  --border:         #e0e0e0;
  --shadow-sm:      0 2px 8px rgba(232,104,26,.10);
  --shadow-md:      0 6px 24px rgba(232,104,26,.15);
  --shadow-lg:      0 16px 48px rgba(232,104,26,.18);
  --radius:         14px;
  --radius-sm:      8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── UTILITY ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 72px 0; }
.section-alt { background: var(--light-bg); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: 1080px; margin: 0 auto;
}
.logo-header img { height: 44px; width: auto; }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-orange); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .85rem; padding: 10px 20px;
  border-radius: 50px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--brand-orange2); transform: translateY(-1px); }
.header-cta svg   { flex-shrink: 0; }

/* ── Faixa laranja separadora ── */
.orange-stripe { height: 5px; background: var(--brand-orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a3a4a 0%, #2a6070 55%, #3ab5c0 100%);
  color: var(--white);
  padding: 64px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::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.04'%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");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  position: relative;
}
.hero-logo        { margin-bottom: 28px; }
.hero-logo img    { height: 52px; width: auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px; padding: 5px 16px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.18;
  margin-bottom: 18px;
}
.hero h1 em  { font-style: normal; color: #f5a03a; }
.hero-sub {
  font-size: 1rem; line-height: 1.7; font-weight: 400;
  color: rgba(255,255,255,.88); margin-bottom: 32px;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

/* Selos no hero */
.hero-selos       { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.hero-selos img   { height: 80px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }

/* Trust pills */
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;}
.trust-pill  {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: 6px 14px;
  font-size: .78rem; font-weight: 600;
}

/* Placeholder / imagem do hero */
.hero-img-wrap {
  align-self: end;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; margin-bottom: 150px;
}
.hero-img-placeholder {
  width: 100%; max-width: 420px; aspect-ratio: 3 / 4;
  background: rgba(255,255,255,.10);
  border-radius: 20px 20px 0 0;
  border: 2px dashed rgba(255,255,255,.3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,.6);
  font-size: .85rem; text-align: center; padding: 20px;
}
/* Quando usar imagem real, adicione a tag <img> no lugar do placeholder e aplique: */
.hero-img-real {
  width: 100%; max-width: 420px;
  border-radius: 20px 20px 0 0;
  display: block;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: .98rem; padding: 15px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.6); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .92rem; padding: 13px 24px;
  border-radius: 50px;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25;
  color: var(--text-dark); margin-bottom: 14px;
}
.section-desc {
  font-size: .97rem; color: var(--text-mid);
  line-height: 1.75; max-width: 560px; font-weight: 400;
}

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.esp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}

.esp-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.esp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--brand-orange);
}
.esp-icon {
  width: 68px; height: 68px; border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.esp-icon.orange { background: #fef0e6; }
.esp-icon.teal   { background: #e3f6f8; }
.esp-icon.gray   { background: #f2f2f2; }
.esp-card h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1.1rem; margin-bottom: 10px; color: var(--text-dark);
}
.esp-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; font-weight: 400; }
.esp-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; font-size: .86rem; font-weight: 700;
  color: var(--brand-orange); transition: gap .2s;
}
.esp-link:hover { gap: 8px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step  { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-orange); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(232,104,26,.35);
}
.step h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .97rem; margin-bottom: 8px; }
.step p  { font-size: .88rem; color: var(--text-mid); line-height: 1.65; font-weight: 400; }
.steps-divider { display: flex; align-items: center; justify-content: center; margin-top: 48px; }

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.img-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.benefits-col { display: flex; flex-direction: column; gap: 14px; }

.benefit-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  flex-shrink: 0; width: 46px; height: 46px;
  background: #fef0e6; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.benefit-item h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.benefit-item p  { font-size: .86rem; color: var(--text-mid); line-height: 1.65; font-weight: 400; }

/* Image placeholder */
.img-placeholder {
  background: var(--light-bg); border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  color: var(--text-light); font-size: .85rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; text-align: left;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .95rem; color: var(--text-dark); gap: 12px;
}
.faq-q .faq-icon { flex-shrink: 0; transition: transform .3s; color: var(--brand-orange); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 14px 22px 18px;
  font-size: .88rem; color: var(--text-mid); line-height: 1.75; font-weight: 400;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, #1a3a4a 0%, #2a6070 100%);
  color: var(--white); text-align: center; padding: 80px 20px;
}
.cta-final-logo       { margin: 0 auto 28px; }
.cta-final-logo img   { height: 52px; width: auto; margin: 0 auto; }
.cta-final h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; line-height: 1.2;
}
.cta-final h2 em { font-style: normal; color: #f5a03a; }
.cta-final p     { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 36px; font-weight: 400; }

.cta-contact {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; align-items: center; margin-top: 32px;
}
.contact-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a1a1a; color: rgba(255,255,255,.5);
  text-align: center; padding: 28px 20px; font-size: .8rem;
}
footer strong  { color: rgba(255,255,255,.8); }
.footer-logo   { margin: 0 auto 12px; }
.footer-logo img { height: 32px; width: auto; margin: 0 auto; opacity: .7; }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
}
.wpp-float-label {
  background: var(--white); color: var(--text-dark);
  padding: 8px 14px; border-radius: 50px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  animation: pulse-label 3s ease-in-out infinite;
}
.wpp-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  animation: pulse-btn 2.5s ease-in-out infinite;
}
.wpp-float-btn:hover { transform: scale(1.08); }

@keyframes pulse-btn {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,.70); }
}
@keyframes pulse-label {
  0%,100% { opacity: 1; }
  50%      { opacity: .7; }
}

/* ============================================================
   FADE-IN (controlado pelo JS)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-inner          { grid-template-columns: 1fr; gap: 32px; }
  .hero-img-wrap       { display: none; }
  .esp-grid            { grid-template-columns: 1fr; }
  .steps               { grid-template-columns: 1fr; }
  .img-section         { grid-template-columns: 1fr; }
  .wpp-float-label     { display: none; }
}
@media (max-width: 480px) {
  .hero    { padding: 48px 0 0; }
  .section { padding: 52px 0; }
}
