/*
Theme Name: Clinintima - Dra. Patricia Sano Blanco
Theme URI: https://drapatriciasanoblanco.com.br
Author: Cliníntima
Description: Landing page para Dra. Patricia Sano Blanco - Ginecologista
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: clinintima
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

:root {
  --cream: #F4FAFA;
  --cream-dark: #E2F0EF;
  --rose: #29AEA0;
  --rose-light: #E1F4F2;
  --rose-dark: #1D8A7D;
  --gold: #C8902A;
  --gold-light: #F0DFB8;
  --foreground: #1A2E2D;
  --muted: #5A7878;
  --card-bg: #FFFFFF;
  --border: #D4ECEB;
  --primary: var(--rose);
  --primary-fg: #FFFFFF;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  justify-content: center;
  padding: 20px 100px;
}

.site-header__logo {
  height: 48px;
  object-fit: contain;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream), rgba(242,224,217,0.3), rgba(232,220,200,0.2));
}

.hero__blob-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(242,224,217,0.4);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(33%, -50%);
}

.hero__blob-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  height: 320px;
  background: rgba(232,220,200,0.3);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(-25%, 33%);
}

.hero__inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

.hero__content {
  text-align: center;
  order: 2;
}

@media (min-width: 1024px) {
  .hero__content {
    text-align: left;
    order: 1;
  }
}

.hero__crm {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--rose);
  color: #fff;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(196,145,123,0.3);
  transition: all 0.3s ease;
}

.hero__cta:hover {
  background-color: var(--rose-dark);
  box-shadow: 0 15px 30px -5px rgba(196,145,123,0.4);
  transform: translateY(-2px);
}

.hero__photo-wrap {
  order: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__photo-wrap { order: 2; }
}

.hero__photo-container {
  position: relative;
}

.hero__photo-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, var(--rose-light), rgba(232,220,200,0.5), transparent);
  border-radius: 2rem;
  filter: blur(4px);
}

.hero__photo {
  position: relative;
  width: 288px;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
  .hero__photo { width: 320px; }
}

@media (min-width: 1024px) {
  .hero__photo { width: 384px; }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0;
  background: var(--card-bg);
}

@media (min-width: 1024px) {
  .about { padding: 112px 0; }
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__inner { grid-template-columns: 1fr 1fr; }
}

.about__photo-wrap {
  display: flex;
  justify-content: center;
}

.about__photo-container {
  position: relative;
}

.about__photo-glow {
  position: absolute;
  inset: -12px;
  background: linear-gradient(to top right, var(--gold-light), rgba(242,224,217,0.4), transparent);
  border-radius: 2rem;
  filter: blur(4px);
}

.about__photo {
  position: relative;
  width: 288px;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12);
}

@media (min-width: 768px) {
  .about__photo { width: 320px; }
}

.about__label {
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
}

.about__title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about__title { font-size: 2.25rem; }
}

.about__text {
  color: var(--muted);
  line-height: 1.7;
}

.about__text p {
  margin-bottom: 16px;
}

.about__text strong {
  color: var(--foreground);
}

.about__badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.about__badge--crm {
  background: rgba(242,224,217,0.6);
  color: var(--rose);
}

.about__badge--rqe {
  background: rgba(232,220,200,0.6);
  color: var(--gold);
}

/* ===== SPECIALTIES SECTION ===== */
.specialties {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .specialties { padding: 112px 0; }
}

.specialties__header {
  text-align: center;
  margin-bottom: 56px;
}

.specialties__label {
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
}

.specialties__title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .specialties__title { font-size: 2.25rem; }
}

.specialties__title em {
  font-style: italic;
  color: var(--rose);
}

.specialties__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .specialties__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .specialties__grid { grid-template-columns: repeat(3, 1fr); }
}

.specialty-card {
  padding: 24px;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: all 0.3s ease;
}

.specialty-card:hover {
  border-color: rgba(196,145,123,0.3);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
}

.specialty-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(242,224,217,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--rose);
  transition: background 0.3s ease;
}

.specialty-card:hover .specialty-card__icon {
  background: rgba(196,145,123,0.1);
}

.specialty-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.specialty-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__logo {
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.footer__info {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 16px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===== MODAL / FORM ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61,48,41,0.4);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 512px;
  padding: 32px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--foreground);
}

.progress-bar {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 9999px;
  margin-bottom: 24px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: var(--rose);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--foreground);
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196,145,123,0.15);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-error {
  font-size: 0.875rem;
  color: #c0392b;
  margin-top: 4px;
}

.form-group {
  margin-bottom: 20px;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.form-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-desc strong {
  color: var(--foreground);
}

/* Radio options */
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.radio-option:hover {
  border-color: rgba(196,145,123,0.5);
}

.radio-option--selected {
  border-color: var(--rose);
  background: rgba(242,224,217,0.5);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radio-option--selected .radio-dot {
  border-color: var(--rose);
}

.radio-dot__inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  display: none;
}

.radio-option--selected .radio-dot__inner {
  display: block;
}

.radio-label {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: var(--rose);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--rose-dark);
}

.btn-secondary {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--cream);
}

.btn-row {
  display: flex;
  gap: 12px;
}

.btn-row .btn-primary,
.btn-row .btn-secondary {
  flex: 1;
  width: auto;
}
