/* =========================================================
   Polyana Rosa Fonoaudiologia — estilos
   Paleta oficial: vinho + mauve (principais) e azul-marinho (apoio)
   ========================================================= */

:root {
  /* Paleta oficial da marca (extraída da identidade visual da Polyana) */
  --rose: #c08e97;      /* mauve — cor de apoio, botões secundários */
  --rose-dark: #813951; /* vinho — cor principal (CTAs, destaques, logo) */
  --rose-light: #f0e2e2;/* rosa muito claro — fundos de seção */
  --pink-mid: #dfc8ce;  /* rosa claro — tons intermediários, bordas */
  --navy: #34495e;      /* azul-marinho — texto de apoio, rodapé */
  --navy-tint: #d8dee4; /* azul-marinho bem clarinho — formas decorativas */
  --cream: #fffaf8;
  --white: #ffffff;
  --text: #33313a;
  --text-light: #6b6570;
  --border: #ece2e4;

  --font-script: 'Parisienne', cursive;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(52, 73, 94, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--text-light); }

a { color: var(--rose-dark); text-decoration: none; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lede.center { max-width: 620px; }

.section { padding: 88px 0; }
.section-tint { background: var(--rose-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 248, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: var(--rose-dark); }
.btn-nav { padding: 10px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background: linear-gradient(180deg, var(--rose-light) 0%, var(--cream) 75%);
}
.hero-shape {
  position: absolute;
  top: -140px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--navy-tint), transparent 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-lede { font-size: 1.05rem; max-width: 520px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 32px;
}
.hero-cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-top: 10px;
}

.hero-media { display: flex; justify-content: center; }
.hero-photo-frame {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  outline: 1px solid var(--pink-mid);
  outline-offset: 6px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-subtitle { margin-top: 32px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-light);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}
.about-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.about-meta strong { display: block; color: var(--navy); font-size: 0.85rem; margin-bottom: 4px; }
.about-meta span { color: var(--text-light); font-size: 0.9rem; }

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--navy);
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { margin: 0; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rose-light);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--rose-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}
.faq-answer p { margin: 0 0 20px; font-size: 0.92rem; }
.faq-item.open .faq-answer { max-height: 900px; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-dark);
  font-weight: 600;
}
.contact-list a { color: var(--navy); font-weight: 500; }
.contact-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 18px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.2s ease;
}
.contact-instagram-btn:hover { background: var(--rose-dark); transform: translateY(-2px); }
.contact-calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 18px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.2s ease;
}
.contact-calendly-btn:hover { background: var(--rose-dark); transform: translateY(-2px); }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 8px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
}
.form-status { font-size: 0.85rem; min-height: 20px; margin: 0; }

.calendly-block {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.calendly-block .section-lede { max-width: 520px; margin: 0 auto 28px; }
.calendly-block .calendly-inline-widget {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-img { height: 54px; width: auto; }
.footer-crfa { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.footer-social a:hover { color: var(--rose); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .btn-nav { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
}
