/* ═══════════════════════════════════════════════════════════════
   Francis Life Suplementos — White Page shared stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --brand-dark:   #1f3a5f;
  --brand:        #2c5f8a;
  --brand-light:  #4a90c2;
  --accent:       #d97706;
  --accent-dark:  #b45309;
  --ink:          #2d3748;
  --muted:        #718096;
  --bg:           #f7fafc;
  --line:         #e2e8f0;
  --card:         #ffffff;
  --footer-bg:    #1a202c;
  --footer-text:  #cbd5e0;
}

* { box-sizing: border-box; }

body {
  font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ─── Header ─── */
header {
  background: var(--brand-dark);
  color: #fff;
  padding: 1.4rem 0;
  border-bottom: 3px solid var(--accent);
}
.header-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo {
  font-size: 1.45rem; font-weight: 800; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 800;
}
nav a { color: #fff; text-decoration: none; margin-left: 1.3rem; font-size: 0.95rem; opacity: 0.9; transition: opacity .15s; }
nav a:hover { opacity: 1; text-decoration: underline; }

/* ─── Hero ─── */
.hero { background: linear-gradient(135deg, #eaf2fa 0%, #f7fafc 100%); padding: 4.5rem 20px; text-align: center; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 2.3rem; color: var(--brand-dark); margin-top: 0; line-height: 1.2; }
.hero p { font-size: 1.1rem; max-width: 720px; margin: 0 auto 2rem; color: var(--muted); }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.8rem 1.7rem; text-decoration: none; border-radius: 6px;
  font-weight: 700; transition: background .15s, transform .1s;
  border: none; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-secondary { background: var(--brand); }
.btn-secondary:hover { background: var(--brand-dark); }

/* ─── Sections ─── */
.section { padding: 3.2rem 0; }
.section-title { text-align: center; margin-bottom: 2.2rem; color: var(--brand-dark); font-size: 1.7rem; }

.grid { display: flex; flex-wrap: wrap; gap: 22px; }
.card {
  flex: 1; min-width: 280px; background: var(--card);
  padding: 1.8rem; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card h3 { margin-top: 0; color: var(--accent); font-size: 1.15rem; }
.card .ico { font-size: 1.6rem; margin-bottom: 0.4rem; display: block; }

/* ─── Content (legal/policy pages) ─── */
.content {
  background: var(--card); padding: 3rem 28px;
  border: 1px solid var(--line); border-radius: 8px;
  margin: 2rem auto; max-width: 980px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.content h1 { color: var(--brand-dark); border-bottom: 2px solid var(--line); padding-bottom: 12px; margin-top: 0; }
.content h2 { color: var(--accent); margin-top: 2rem; font-size: 1.2rem; }
.content p, .content li { color: var(--ink); }
.content ul { padding-left: 1.3rem; }
.content a { color: var(--brand); }

.updated-at { color: var(--muted); font-size: 0.85rem; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ─── Contact ─── */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 2rem; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h3 { color: var(--accent); margin-top: 0; }
.contact-info p { margin-bottom: 1rem; }
.contact-form { flex: 1; min-width: 300px; background: #eef4fa; padding: 2rem; border-radius: 8px; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--brand-dark); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem; margin-bottom: 1rem;
  border: 1px solid #bdc3c7; border-radius: 5px; font-family: inherit; font-size: 0.95rem;
}
.contact-form .form-status { margin-top: 0.5rem; font-size: 0.92rem; }
.contact-form .form-status.ok { color: #2f855a; }
.contact-form .form-status.err { color: #c53030; }

/* ─── Footer ─── */
footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 0 1.5rem; font-size: 0.88rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-col { flex: 1; min-width: 220px; }
.footer-col h4 { color: #fff; margin-top: 0; font-size: 0.95rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--footer-text); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.copyright { text-align: center; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #2d3748; font-size: 0.82rem; }

/* ─── Trust strip ─── */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  nav a { margin-left: 0.8rem; }
}
