/* ==========================================================================
   Psicóloga Josiana Dutra - static rebuild
   Original palette preserved from the archived site.
   ========================================================================== */

:root {
  --color1: #80424d;  --color1t: #80424daa;
  --color2: #8f8f8f;  --color2t: #8f8f8faa;
  --color3: #e5dcd7;  --color3t: #e5dcd7aa;
  --color4: #ededed;  --color4t: #edededaa;
  --color5: #ffffff;  --color5t: #ffffffaa;
  --color6: #000000;  --color6t: #000000aa;
  --color7: #3dce27F0;

  --font-family: 'Roboto', Arial, sans-serif;
  --container-width: 1140px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 300;
  color: var(--color6);
  line-height: 1.6;
  background-color: var(--color5);
}

h1, h2, h3, h4, h5 {
  font-weight: 400;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

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

ul, ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.center {
  text-align: center;
}

.color1 { color: var(--color1); }
.color2 { color: var(--color2); }

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--color1);
  color: var(--color5);
}

.btn-primary:hover {
  background-color: #63333c;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color2);
  color: var(--color6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline:hover {
  border-color: var(--color1);
}

/* Navbar ----------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color5t);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-logo-strong {
  font-weight: 700;
  color: var(--color6);
}

.nav-logo-light {
  font-weight: 300;
  color: var(--color2);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-link {
  font-size: 14px;
  color: var(--color6);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--color1);
  border-color: var(--color1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color6);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 130%;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 0 0 8vw;
  padding: 40px 20px;
}

.hero-logo {
  margin-bottom: 28px;
}

.hero-logo-strong {
  display: block;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color6);
  line-height: 1;
}

.hero-logo-sub {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.hero-logo-title {
  font-size: 11px;
  line-height: 1.3;
  color: var(--color6);
  padding-bottom: 4px;
}

.hero-logo-light {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color2);
  line-height: 1;
}

.hero-quote {
  font-size: 22px;
  font-weight: 700;
  color: var(--color1);
  line-height: 1.35;
  margin-bottom: 24px;
}

.hero-tagline {
  color: var(--color6);
  margin-bottom: 24px;
}

/* Generic sections ----------------------------------------------------- */

.section {
  padding: 90px 0;
}

.section-white {
  background-color: var(--color5);
}

.section-beige {
  background-color: var(--color3);
}

.section-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
}

.section-text {
  text-align: justify;
  max-width: 820px;
}

.bar {
  width: 60px;
  height: 3px;
  background-color: var(--color1);
  margin: 0 auto 40px;
}

/* Sobre Mim - counters --------------------------------------------------- */

.counters {
  background-color: var(--color2);
  color: var(--color5);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  text-align: center;
}

.counters-title {
  font-size: 22px;
  margin-bottom: 30px;
}

.counters-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.counter {
  flex: 1 1 220px;
  max-width: 300px;
}

.counter-number {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.counter-plus {
  margin-right: 2px;
}

.counter-label {
  font-size: 15px;
  margin: 0;
}

/* Apresentação - question cards ------------------------------------------ */

.question-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
}

.question-card {
  flex: 1 1 320px;
  max-width: 420px;
  text-align: center;
}

.icon {
  display: inline-block;
}

.icon-large {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.icon-medium {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.icon-small {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
}

.question-text {
  font-size: 19px;
  line-height: 1.5;
}

/* Photo sections (Como te Ajudo / Atendimento Online) --------------------- */

.section-photo {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
}

.section-photo-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.section-photo-right .section-photo-bg {
  background-position: right top;
}

.section-photo-left .section-photo-bg {
  background-position: left top;
}

.section-photo .container {
  position: relative;
}

.section-photo-col {
  max-width: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 20px 0;
}

.section-photo-right .section-photo-col {
  margin-right: auto;
}

.section-photo-col-right {
  margin-left: auto;
}

/* Desktop-only card treatment so the white block reads as an intentional
   card floating over the photo instead of a raw flush rectangle.
   Scoped to >=769px so the mobile stacked layout (see 768px breakpoint) is untouched. */
@media (min-width: 769px) {
  .section-photo-col {
    padding: 40px;
    margin: 60px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
}

/* Accordion (shared: Como te Ajudo / Dúvidas) ----------------------------- */

.accordion {
  margin-top: 10px;
}

.accordion-item {
  border-bottom: 1px solid var(--color4);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 4px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: var(--color6);
  cursor: pointer;
}

.accordion-icon {
  color: var(--color1);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel > * {
  padding: 0 4px 16px;
}

.accordion-panel h5 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.accordion-panel p,
.accordion-panel ul,
.accordion-panel ol {
  text-align: justify;
}

/* Atendimento Online - feature list ---------------------------------------- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

/* Depoimentos - testimonial carousel --------------------------------------- */

.testimonial-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 50px;
}

.testimonial-track {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: var(--color5);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-meta {
  line-height: 1.3;
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

.star {
  width: 16px;
  height: 16px;
}

.testimonial-text {
  text-align: justify;
}

.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  color: var(--color1);
  cursor: pointer;
  padding: 8px;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color4);
  border: none;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  background-color: var(--color1);
}

.testimonial-note {
  max-width: 640px;
  margin: 30px auto 20px;
  font-size: 13px;
  color: var(--color2);
  text-align: center;
}

.google-icon {
  width: 22px;
  height: 22px;
}

/* Footer / Contato --------------------------------------------------------- */

.footer {
  background-color: var(--color2t);
  padding: 70px 0 40px;
}

.footer-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.footer-role {
  margin-bottom: 24px;
}

.footer-block {
  margin-bottom: 20px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
}

.footer-crisis {
  background-color: var(--color2t);
  color: var(--color5);
  border-radius: 25px;
  padding: 15px 30px;
  max-width: 720px;
  margin: 10px auto 30px;
  font-size: 13px;
}

.footer-copy {
  font-size: 12px;
  color: var(--color6);
}

.footer-copy a {
  color: var(--color1);
}

/* Floating WhatsApp button --------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float-bubble {
  background-color: var(--color5);
  border: 1px solid var(--color4);
  border-radius: 15px;
  padding: 10px 15px;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-content {
    margin-left: 6vw;
    max-width: 460px;
  }

  .section-photo-col,
  .section-photo-col-right {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color5);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  .nav-links.is-open {
    max-height: 480px;
  }

  .nav-link {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color4);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero collapses to a stacked layout: photo block on top, text below */
  .hero {
    display: block;
    min-height: auto;
  }

  .hero-photo {
    position: relative;
    height: 55vh;
    background-position: center top;
    background-size: auto 145%;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 36px 24px 48px;
    text-align: center;
  }

  .hero-logo-sub {
    justify-content: center;
  }

  .hero-quote {
    font-size: 19px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
  }

  /* Photo sections stack: image block first, content below, full width */
  .section-photo-bg {
    position: relative;
    height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: center top;
  }

  .section-photo .container {
    padding: 0;
  }

  .section-photo-col,
  .section-photo-col-right {
    max-width: 100%;
    margin: 0;
    padding: 40px 24px 0;
  }

  .testimonial-carousel {
    padding: 0 36px;
  }
}

@media (max-width: 480px) {
  .hero-logo-strong {
    font-size: 34px;
  }

  .hero-logo-light {
    font-size: 30px;
  }

  .counters {
    padding: 30px 20px;
  }

  .whatsapp-float-bubble {
    display: none;
  }

  .whatsapp-float-icon {
    width: 50px;
    height: 50px;
  }
}
