/* ============================================================
   obgyn.pt — Shared Design System
   Clinical precision meets human warmth
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --white: #FAFAF8;
  --ink: #1A1A22;
  --ink-soft: #3D3D4A;
  --ink-mute: #8888A0;
  --border: rgba(26,26,34,0.10);
  --border-strong: rgba(26,26,34,0.18);

  /* per-site accent — overridden in each page */
  --accent: #2D6A8F;
  --accent-light: #E8F3F9;
  --accent-glow: rgba(45,106,143,0.12);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 860px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 500;
}
.nav-site-name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}
.nav-domain {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 34px;
  box-shadow: 0 8px 32px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.08);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.6;
}
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  background: white;
}
.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.badge-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.badge-primary:hover { color: white; opacity: 0.9; }

/* ── Sections ── */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--border); }

.section-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.25;
}
p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-2px);
}
.feature-icon { font-size: 24px; margin-bottom: 12px; }
.feature-card h3 {
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.feature-card p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* ── Privacy callout ── */
.privacy-callout {
  background: var(--accent-light);
  border: 1px solid rgba(45,106,143,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 28px;
}
.privacy-callout .icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.privacy-callout h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.privacy-callout p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ── Policy list ── */
.policy-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.policy-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Contact ── */
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
  text-align: center;
}
.contact-card .email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  margin-top: 14px;
  transition: all var(--transition);
}
.contact-card .email-link:hover {
  background: var(--accent);
  color: white;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  list-style: none;
  margin-bottom: 16px;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: fadeUp 0.5s ease both; }
.hero-badge { animation-delay: 0.05s; }
.hero-icon  { animation-delay: 0.10s; }
.hero h1    { animation-delay: 0.15s; }
.hero-tagline { animation-delay: 0.20s; }
.store-badges { animation-delay: 0.25s; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .privacy-callout { flex-direction: column; }
  .features { grid-template-columns: 1fr; }
}

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  gap: 6px;
}
.lang-btn {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  color: var(--ink-mute);
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.en-text { display: none; }
