/* ===========================================================
   Maria Eduarda Buss Jablonski — Psicóloga
   Versão estática (HTML + CSS puro) para GitHub Pages
   =========================================================== */

:root {
  --azure: #cedeeb;
  --azure-dark: #b6cbdc;
  --teal: #2b4743;
  --teal-light: #47615c;
  --rose-light: #ffd3db;
  --rose: #da7073;
  --card: #ffffff;
  --border: rgba(43, 71, 67, 0.14);
  --radius: 1rem;
  --font-heading: "Poiret One", "Questrial", serif;
  --font-body: "Questrial", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--azure);
  color: var(--teal);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.muted {
  color: var(--teal-light);
}
.small {
  font-size: 0.9rem;
}
.center {
  text-align: center;
}
.italic {
  font-style: italic;
}
.rose {
  color: var(--rose);
}

.eyebrow {
  color: var(--rose);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: var(--azure);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-outline {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--azure);
}
.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(43, 71, 67, 0.18);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(206, 222, 235, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  position: relative;
}
.logo {
  height: 3.5rem;
  width: auto;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav-desktop a:hover {
  opacity: 1;
}
.nav-desktop .btn:hover {
  opacity: 0.9;
}

/* mobile menu (CSS only) */
.nav-toggle,
.nav-burger,
.nav-mobile {
  display: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}
.hero .lead {
  color: var(--teal-light);
  max-width: 32rem;
  margin-bottom: 1rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hero-photo {
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  max-width: 28rem;
}
.hero-photo-bg {
  position: absolute;
  inset: -1rem;
  background: var(--rose-light);
  border-radius: 2rem;
  transform: rotate(-3deg);
}
.hero-photo-frame img {
  position: relative;
  border-radius: 2rem;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(43, 71, 67, 0.2);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}
.section-card {
  background: var(--card);
}
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.narrow-wide {
  max-width: 1060px;
}

/* ---------- Grids / cards ---------- */
.grid-3 {
  display: grid;
  gap: 1.75rem;
}

.photo-card {
  background: var(--azure);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.photo-card:hover {
  box-shadow: 0 12px 28px rgba(43, 71, 67, 0.12);
}
.photo-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card-body {
  padding: 1.75rem;
}
.photo-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  border-color: rgba(218, 112, 115, 0.35);
  box-shadow: 0 12px 28px rgba(43, 71, 67, 0.1);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* ---------- Abordagem ---------- */
.approach-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 3rem;
}
.approach-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.approach-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(43, 71, 67, 0.12);
}
.approach-text > * + * {
  margin-top: 1.15rem;
}
.approach-text h3 {
  color: var(--teal);
  font-size: 1.5rem;
  margin-top: 2rem;
}
.approach-text ul {
  padding-left: 1.1rem;
}
.approach-text li + li {
  margin-top: 0.75rem;
}
.approach-text strong {
  color: var(--teal);
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 46rem;
  margin: 0 auto;
}
.contact-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover {
  border-color: rgba(218, 112, 115, 0.35);
  box-shadow: 0 12px 28px rgba(43, 71, 67, 0.12);
}
.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: var(--rose-light);
  color: var(--rose);
}
.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.cta-wrap {
  margin-top: 3.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal);
  color: var(--azure);
  padding: 3rem 0;
}
.footer-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-brand img {
  height: 5rem;
  width: auto;
}
.footer-quote {
  font-family: var(--font-heading);
  font-style: italic;
  max-width: 18rem;
  opacity: 0.9;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.85;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  opacity: 1 !important;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(206, 222, 235, 0.12);
  transition: background-color 0.2s ease;
}
.footer-social a:hover {
  background: rgba(206, 222, 235, 0.24);
}
.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===========================================================
   Responsivo
   =========================================================== */
@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }
  .nav-burger {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
  }
  .nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--azure);
    border-top: 1px solid var(--border);
  }
  .nav-toggle:checked ~ .nav-mobile {
    display: flex;
  }
  .header-inner {
    height: 4rem;
  }
  .logo {
    height: 3rem;
  }
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
  .hero-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  .approach-photo {
    position: sticky;
    top: 6rem;
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-contact {
    align-items: flex-end;
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
