/* ============================================================
   Aline Frasson Psicologia — Landing Page Curitiba
   Identidade visual: #2E929E (primary) · #283D57 (navy)
   Fontes: Lora (títulos) · Lato (texto)
   Mobile-first: base = celular · 768px = tablet · 1024px = desktop
   ============================================================ */

:root {
  --primary: #2e929e;
  --primary-dark: #247780;
  --accent: #37c3db;
  --navy: #283d57;
  --ink: #0b131e;
  --muted: #7a7a7a;
  --light: #f5f9ff;
  --soft-teal: #eaf5f6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(11, 19, 30, 0.10);
  --shadow-sm: 0 8px 24px rgba(149, 157, 165, 0.20);
  --font-head: "Lora", Georgia, serif;
  --font-body: "Lato", "Segoe UI", sans-serif;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 7vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 92%); }

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 30px;
  line-height: 48px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn--lg { line-height: 56px; padding: 0 34px; font-size: 14.5px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn--secondary { background: var(--navy); color: #fff; }
.btn--secondary:hover { background: var(--ink); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--primary-dark); }
.btn--white:hover { background: var(--soft-teal); transform: translateY(-2px); }

/* ===== TOPBAR (mobile: só a frase central) ===== */
.topbar {
  background: var(--navy);
  color: #dbe4ee;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { fill: var(--accent); }
.topbar__item:first-child { display: none; }
.topbar__phone { display: none; font-weight: 700; color: #fff; transition: var(--transition); }
.topbar__phone:hover { color: var(--accent); }
.topbar__divider {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11.5px;
}

/* ===== HEADER (mobile: burger + menu off-canvas) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(11, 19, 30, 0.10); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.header__logo img { width: 150px; }
.header__nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 84vw);
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 90px 34px 34px;
  gap: 8px;
  box-shadow: -12px 0 40px rgba(11, 19, 30, 0.15);
  transition: right 0.35s ease;
  z-index: 150;
}
.header__nav.open { right: 0; }
.header__nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
  position: relative;
  transition: var(--transition);
}
.header__nav a:hover { color: var(--primary); }
.header__cta { display: none; }
.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 160;
}
.header__burger span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.header__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO (mobile: texto primeiro, imagem embaixo) ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 10vw, 110px) 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 480px at 88% 12%, rgba(55, 195, 219, 0.16), transparent 65%),
    radial-gradient(560px 420px at 6% 92%, rgba(46, 146, 158, 0.12), transparent 65%),
    linear-gradient(180deg, var(--light) 0%, #fff 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 70px);
}
.hero__eyebrow {
  display: inline-block;
  background: var(--soft-teal);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--primary); }
.hero__sub {
  font-size: 1.06rem;
  color: #4b5560;
  max-width: 540px;
  margin: 18px 0 28px;
}
.hero__ctas { display: flex; flex-direction: column; gap: 14px; }
.hero__ctas .btn { width: 100%; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 26px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.hero__trust .icon { fill: var(--primary); }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ===== SEÇÕES GENÉRICAS ===== */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #cdd8e4; }

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 7vw, 60px);
}
.section__eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__eyebrow--light { color: var(--accent); }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
.section--navy .section__head p { color: #cdd8e4; }

/* ===== MODALIDADES (mobile: cards empilhados) ===== */
.modalidades__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.mod-card {
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 46px);
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--primary);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.mod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mod-card--presencial { background: #fff; }
.mod-card--online { background: var(--navy); border-top-color: var(--accent); }
.mod-card--online h3 { color: #fff; }
.mod-card--online p, .mod-card--online li { color: #cdd8e4; }
.mod-card__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-teal);
  margin-bottom: 20px;
}
.mod-card--online .mod-card__icon { background: rgba(55, 195, 219, 0.15); }
.mod-card__icon svg { width: 30px; height: 30px; fill: var(--primary); }
.mod-card--online .mod-card__icon svg { fill: var(--accent); }
.mod-card__addr { color: var(--muted); font-size: 0.98rem; margin: 8px 0 18px; }
.mod-card--online .mod-card__addr { color: #a9b9ca; }
.mod-card ul { margin-bottom: 26px; display: grid; gap: 10px; }
.mod-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.97rem;
}
.mod-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.mod-card--online li::before { background: var(--accent); }
.mod-card .btn { margin-top: auto; align-self: stretch; }

/* ===== SERVIÇOS ===== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #e3ebf2;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-bottom: 10px; font-size: 1.14rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.services__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.services__cta p { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.services__cta .btn { width: 100%; max-width: 360px; }

/* ===== SOBRE ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
}
.about__media { position: relative; max-width: 420px; margin: 0 auto; }
.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.about__crp {
  position: absolute;
  bottom: 20px; right: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.about__role {
  color: var(--primary);
  font-weight: 700;
  margin: 8px 0 18px;
}
.about__content p { color: #4b5560; margin-bottom: 14px; }
.about__list { margin: 20px 0 30px; display: grid; gap: 12px; }
.about__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  color: var(--navy);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.about__content .btn { width: 100%; }

/* ===== COMO FUNCIONA ===== */
.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.step:hover { background: rgba(255, 255, 255, 0.10); transform: translateY(-6px); }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.96rem; }

/* ===== LOCALIZAÇÃO ===== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.location__list { margin: 26px 0 30px; display: grid; gap: 20px; }
.location__list li { display: flex; gap: 14px; align-items: flex-start; }
.location__list .icon { fill: var(--primary); width: 24px; height: 24px; margin-top: 3px; }
.location__list strong { color: var(--navy); }
.location__list div { color: #4b5560; font-size: 0.97rem; }
.location__info .btn { width: 100%; }
.location__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== FAQ ===== */
.faq__list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid #e3ebf2;
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1rem;
  list-style: none;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item__chev {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(45deg);
  transition: var(--transition);
}
.faq-item[open] .faq-item__chev { transform: rotate(225deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item__body {
  padding: 0 20px 20px;
  color: #4b5560;
}
.faq-item__body a { color: var(--primary); font-weight: 700; }

/* ===== CTA FINAL ===== */
.final-cta {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  padding: clamp(56px, 9vw, 96px) 0;
  text-align: center;
}
.final-cta__inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255, 255, 255, 0.92); font-size: 1.06rem; margin-bottom: 28px; }
.final-cta .btn { width: 100%; max-width: 420px; }
.final-cta__note {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: #9fb0c1;
  padding: 56px 0 30px;
  text-align: center;
}
.footer__logo { margin: 0 auto 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__tag { font-size: 0.97rem; margin-bottom: 20px; }
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  margin-bottom: 26px;
}
.footer__contact a { color: var(--accent); transition: var(--transition); }
.footer__contact a:hover { color: #fff; }
.footer__copy { font-size: 0.83rem; color: #6d7d8e; }

/* ===== WHATSAPP FLUTUANTE ===== */
.whats-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse 2.4s infinite;
}
.whats-float svg { width: 30px; height: 30px; fill: #fff; }
.whats-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whats-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TABLET — min-width: 768px
   ============================================================ */
@media (min-width: 768px) {
  .btn--lg { line-height: 58px; padding: 0 38px; font-size: 15px; }
  .header__logo img { width: 171px; }
  .header__inner { padding: 14px 0; }

  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__ctas .btn { width: auto; }
  .hero__sub { font-size: 1.13rem; margin: 20px 0 32px; }
  .hero__trust { gap: 20px; margin-top: 30px; }
  .hero__media img { aspect-ratio: 16 / 8; }

  .services__grid,
  .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .services__cta { flex-direction: row; flex-wrap: wrap; }
  .services__cta .btn,
  .about__content .btn,
  .location__info .btn,
  .final-cta .btn { width: auto; }
  .mod-card .btn { align-self: flex-start; }

  .footer__contact { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
  .location__map iframe { height: 360px; }
}

/* ============================================================
   DESKTOP — min-width: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  html { scroll-padding-top: 110px; }

  /* topbar completa */
  .topbar__inner { justify-content: space-between; }
  .topbar__item:first-child { display: inline-flex; }
  .topbar__phone { display: inline-flex; }

  /* nav inline */
  .header__nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 26px;
    background: transparent;
    box-shadow: none;
  }
  .header__nav a {
    font-size: 14px;
    padding: 0;
    border-bottom: none;
  }
  .header__nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
  }
  .header__nav a:hover::after { width: 100%; }
  .header__cta { display: inline-flex; }
  .header__burger { display: none; }

  /* hero lado a lado */
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .hero__media img { aspect-ratio: 4 / 3.1; }
  .hero__eyebrow { font-size: 12.5px; padding: 7px 16px; margin-bottom: 22px; }

  .modalidades__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .about__grid { grid-template-columns: 0.85fr 1.15fr; }
  .about__media { max-width: none; margin: 0; }
  .about__crp { right: -14px; }

  .location__grid { grid-template-columns: 1fr 1.1fr; }
  .location__map iframe { height: 420px; }

  .faq-item summary { padding: 20px 26px; font-size: 1.03rem; }
  .faq-item__body { padding: 0 26px 22px; }

  .whats-float { right: 22px; bottom: 22px; width: 60px; height: 60px; }
  .whats-float svg { width: 32px; height: 32px; }
}
