/* =============================
   Saúde Fácil — style.css
   Paleta: Branco (#FFFFFF) e Laranja (#FF7A00)
   Acessível, responsivo, compatível com Google Ads (conteúdo informativo)
================================ */

:root {
  --primary: #ff7a00;
  --primary-600: #e56e00;
  --primary-700: #c76000;
  --bg: #ffffff;
  --text: #1f2937; /* slate-800 */
  --text-muted: #6b7280; /* gray-500 */
  --border: #e5e7eb; /* gray-200 */
  --focus: #2563eb; /* blue-600 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.whatsapp-float {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
background-color: #25D366;
color: white;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
transform: scale(1.05);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.whatsapp-float img {
width: 34px;
height: 34px;
  filter: brightness(0) invert(1); /* deixa o ícone branco */

}

/* Containers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.logo {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--primary);
}
.header nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}
.header nav a:hover,
.header nav a:focus {
  background: #fff4ec; /* leve laranja claro */
  outline: none;
}

/* Hero */
.hero {
  background: linear-gradient(180deg,#fff 0%,#fffaf6 60%,#fff 100%);
  border-bottom: 1px solid var(--border);
}
.hero-content {
  padding: 56px 0;
  text-align: center;
}
.hero h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}
.hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 24px;
}

.btn-whatsapp {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform .06s ease, background .2s ease;
}
.btn-whatsapp:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Sections */
section { padding: 32px 0; }
.info h3 { font-size: 24px; margin: 0 0 8px; }
.info p { color: var(--text-muted); margin: 0 0 14px; }
.info ul { padding-left: 18px; margin: 0; }
.info li { margin: 6px 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: #fff; }
.footer .container { padding: 18px 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.footer p { margin: 0; font-size: 14px; color: var(--text-muted); }
.footer nav a { color: var(--primary-700); text-decoration: none; margin: 0 8px; }
.footer nav a:hover, .footer nav a:focus { text-decoration: underline; outline: none; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  display: none; /* toggled via JS */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  z-index: 50;
  padding: 16px;
}
.cookie-content {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid var(--border);
  padding: 18px;
}
.cookie-content h3 { margin: 0 0 6px; font-size: 20px; }
.cookie-content p { margin: 0 0 14px; color: var(--text-muted); }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }

.btn-accept, .btn-settings, .btn-save {
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.btn-accept { background: var(--primary); color: #fff; }
.btn-accept:hover { background: var(--primary-600); }
.btn-settings { background: #fff4ec; color: var(--primary-700); }
.btn-settings:hover { background: #ffe8d6; }
.btn-save { background: var(--primary); color: #fff; }
.btn-save:hover { background: var(--primary-600); }

.cookie-settings {
  display: none; /* toggled via JS */
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.cookie-settings h4 { margin: 0 0 10px; }
.cookie-settings label { display: inline-flex; align-items: center; gap: 8px; margin: 6px 16px 6px 0; }

/* Forms (contato.html) */
.form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.stack { grid-template-columns: 1fr; }
.label { font-weight: 600; display: block; margin: 8px 0 6px; }
.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { background: var(--primary-600); }
.btn:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Utilities */
.hidden { display: none !important; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* Responsive */
@media (max-width: 780px) {
  .header .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header nav a { margin-left: 0; margin-right: 12px; }
  .hero-content { padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; }
}
