/* ============================================================
   WB-EMS Almancil — stylesheet
   Paleta: azul-petróleo (#1a5f7a), verde-salva (#4a9b8e),
           cinza-claro (#f5f7f9), branco, texto escuro (#1e2a35)
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1a5f7a;
  --primary-dark:  #134558;
  --accent:        #4a9b8e;
  --accent-light:  #e8f4f2;
  --bg-light:      #f5f7f9;
  --bg-dark:       #eef2f5;
  --text:          #1e2a35;
  --text-muted:    #5a6a78;
  --white:         #ffffff;
  --danger:        #c0392b;
  --success:       #27ae60;
  --whatsapp:      #25d366;
  --whatsapp-dark: #1da851;
  --border:        #dce3ea;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(26,95,122,.10);
  --shadow-md:     0 4px 20px rgba(26,95,122,.14);
  --font:          'Inter', system-ui, sans-serif;
  --transition:    .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section--light       { background: var(--bg-light); }
.section--dark-accent { background: var(--bg-dark); }
.section--contraindications { background: #fff8f7; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

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

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); }

.btn--full { width: 100%; justify-content: center; }

/* ── Placeholder blocks (foto / mapa) ────────────────────── */
.hero__photo-placeholder,
.photo-placeholder,
.map-placeholder {
  background: linear-gradient(135deg, #dce8f0 0%, #c8dde8 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--primary);
  text-align: center;
  padding: 40px 24px;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
  min-height: 260px;
}
.hero__photo-placeholder i,
.photo-placeholder i,
.map-placeholder i {
  font-size: 2.8rem;
  opacity: .5;
}
.hero__photo-placeholder small,
.photo-placeholder small,
.map-placeholder small {
  font-size: .8rem;
  opacity: .75;
}

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

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__tag {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}

.hero__headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--white);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__photo-placeholder {
  background: rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.5);
  color: rgba(255,255,255,.85);
  min-height: 320px;
}
.hero__photo-placeholder i { color: rgba(255,255,255,.5); }

/* ============================================================
   2. O QUE É — what grid
   ============================================================ */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.what-text p { margin-bottom: 16px; color: var(--text); }
.what-text p:last-child { margin-bottom: 0; }

.what-disclaimer {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--text-muted) !important;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.what-disclaimer i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* ============================================================
   3. BENEFÍCIOS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon i { font-size: 1.3rem; color: var(--accent); }

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.benefit-card p { font-size: .92rem; color: var(--text-muted); }

/* ============================================================
   4. PARA QUEM
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.audience-item i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.audience-item span { font-size: .95rem; }

.audience-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--text-muted);
}
.audience-note i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

/* ============================================================
   5. CONTRAINDICAÇÕES
   ============================================================ */
.contra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.contra-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 4px solid #e74c3c;
  font-size: .95rem;
}
.contra-item i { color: #e74c3c; margin-top: 2px; flex-shrink: 0; }

.contra-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fdecea;
  border: 1.5px solid #f5c6c2;
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: .95rem;
}
.contra-disclaimer i { color: #c0392b; font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.contra-disclaimer p { color: var(--text); }

/* ============================================================
   6. PASSOS (AVALIAÇÃO)
   ============================================================ */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.step-content p { font-size: .93rem; color: var(--text-muted); }

.steps-cta { text-align: center; }

/* ============================================================
   7. LOCALIZAÇÃO
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.location-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  font-size: .95rem;
}
.location-detail i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.location-detail a { color: var(--primary); }
.location-detail small { display: block; color: var(--text-muted); font-size: .82rem; }

.location-seo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.location-seo i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.location-seo p { margin: 0; }

.location-map .map-placeholder { min-height: 350px; }

/* Imagem do mapa screenshot */
.map-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Botão Google Maps */
.btn--maps {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

/* Imagem hero */
.hero__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

/* Imagem equipamento na secção "O que é" */
.what-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   8. FORMULÁRIO
   ============================================================ */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.required { color: var(--danger); }
.optional { font-weight: 400; color: var(--text-muted); font-size: .82rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .97rem;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,122,.12);
  background: var(--white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a78' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* RGPD checkbox */
.form-group--rgpd .rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text-muted);
}
.form-group--rgpd input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 0;
}

.link-inline { color: var(--primary); text-decoration: underline; }

/* Errors */
.field-error {
  display: block;
  font-size: .82rem;
  color: var(--danger);
  margin-top: 5px;
  min-height: 18px;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
}

/* Success / Error messages */
.form-success {
  margin-top: 20px;
  background: #eafaf1;
  border: 1.5px solid #a9dfbf;
  border-radius: var(--radius);
  padding: 20px 22px;
  text-align: center;
  color: var(--success);
}
.form-success i { font-size: 1.6rem; margin-bottom: 6px; }
.form-success strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.form-success p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.form-error-msg {
  margin-top: 16px;
  background: #fdecea;
  border: 1.5px solid #f5c6c2;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--danger);
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-whatsapp-alt {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-whatsapp-alt p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ============================================================
   9. FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--accent-light); }
.faq-question i {
  font-size: .9rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] { background: var(--accent-light); }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: .95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.faq-answer.is-open { display: block; }
.faq-answer p { padding-top: 16px; }

/* ============================================================
   10. RODAPÉ
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.footer-logo span {
  color: var(--accent);
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

.footer h4 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-contact p {
  font-size: .88rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.footer-contact i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: var(--white); }

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.social-link:hover { color: var(--white); text-decoration: none; }
.social-link i { color: var(--accent); }
.social-note { font-size: .76rem; color: rgba(255,255,255,.45); margin-top: 6px; }

.footer-link {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
}
.footer-link:hover { color: var(--white); }
.footer-rgpd-note { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.5; }

.footer-disclaimer {
  text-align: center;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.08);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  text-decoration: none;
  color: var(--white);
}
.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float__label { display: inline; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner    { grid-template-columns: 1fr; gap: 36px; }
  .hero           { padding: 60px 0 48px; }
  .hero__sub      { max-width: 100%; }
  .what-grid      { grid-template-columns: 1fr; }
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: repeat(2, 1fr); }
  .location-grid  { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 52px 0; }

  .hero__headline { font-size: 1.5rem; }
  .hero__sub      { font-size: 1rem; }
  .hero__cta      { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .benefits-grid  { grid-template-columns: 1fr; }
  .audience-grid  { grid-template-columns: 1fr; }
  .contra-grid    { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  .contact-form { padding: 24px 18px; }
  .step-item    { flex-direction: column; gap: 14px; }
  .step-number  { width: 38px; height: 38px; font-size: 1rem; }

  .whatsapp-float { padding: 13px 16px; }
  .whatsapp-float__label { display: none; }
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
[hidden] { display: none !important; }
