/*
Theme Name: Vitagi Saúde
Theme URI: https://wpamelia.com/
Author: Melograno Ventures
Author URI: https://wpamelia.com/
Description: A custom WordPress theme for Vitagi Saúde with Amelia Booking integration.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vitagi-saude
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #0476a3;
  --accent: #035a7f;
  --primary-tint: #e6f2f7;
  --surface-alt: #d7e9f0;
  --text: #16313c;
  --bg: #f8fafc;
  --surface: #ffffff;
  --muted: #5b7480;
  --border: #dbe4e9;
}

html {
  color: var(--text);
  background: var(--bg);
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); }

a {
  color: var(--primary);
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

/* === Header === */

.site-logo-mark {
  width: 42px;
  height: 42px;
}

.site-logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
}

.site-logo-descriptor {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  min-height: 44px;
  box-shadow: 0 4px 14px rgba(3, 90, 127, 0.25);
}

.header-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

/* === Footer === */

.site-footer {
  background: var(--accent);
  color: #dceaf1;
}

.site-footer a {
  color: #ffffff;
}

/* === Hero === */

.hero-cover {
  position: relative;
}

.hero-cover .wp-block-cover__background {
  background: linear-gradient(120deg, rgba(4, 118, 163, 0.65), rgba(3, 90, 127, 0.4));
}

.hero-cover h1,
.hero-cover p {
  color: #ffffff;
  max-width: 42rem;
}

.hero-cover .wp-block-buttons {
  margin-top: 1.5rem;
}

.hero-cover .wp-block-button__link {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  min-height: 44px;
}

.hero-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--accent);
  color: #ffffff;
}

.hero-cover .wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid #ffffff;
  color: #ffffff !important;
  background: transparent;
}

/* === Services / Offering === */

.services-section {
  background: var(--surface);
  padding: 100px 0;
}

.services-section h2 {
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.services-section > .wp-block-group__inner-container {
  display: block;
}

.services-section .wp-block-columns {
  gap: 2rem;
}

.services-section .wp-block-column {
  background: var(--primary-tint);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}

.services-section .wp-block-column h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.services-section .wp-block-column p {
  color: var(--muted);
}

/* === Booking === */

.booking-section {
  background: var(--primary-tint);
  padding: 100px 0;
}

.booking-section h2 {
  color: var(--accent);
}

/* === Process === */

.process-section {
  background: var(--bg);
  padding: 100px 0;
}

.process-section > .wp-block-group__inner-container {
  max-width: 760px;
  margin-inline: auto;
}

.process-section h2 {
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.process-section ol {
  color: var(--text);
  padding-left: 1.4rem;
}

.process-section li {
  margin-bottom: 0.9rem;
  font-size: 1.02rem;
}

/* === Trust === */

.trust-section {
  background: var(--surface-alt);
  padding: 90px 0;
  text-align: center;
}

.trust-section h2 {
  width: fit-content;
  margin-inline: auto;
}

.trust-section p {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--text);
  font-size: 1.1rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.3em;
}

/* === Location === */

.location-section {
  background: var(--surface);
  padding: 90px 0;
}

.location-section > .wp-block-group__inner-container {
  max-width: 760px;
  margin-inline: auto;
}

.location-section h2 {
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 1.2rem;
}

.location-section p {
  color: var(--muted);
  text-align: center;
}

/* === Responsive === */

@media (max-width: 768px) {
  .services-section,
  .booking-section,
  .process-section,
  .trust-section,
  .location-section {
    padding: 64px 0;
  }

  .hero-cover h1,
  .hero-cover p {
    max-width: 100%;
  }
}