/** ROOT VARIABLES **/
:root {
    --brand: #d9a39c;

    --white: #ffffff;

    --title-color: #b68c74;

    --text-color: #7B4F43;

    --font-title: 'Caudex', uppercase;

    --colored-section: #dec3b1;
}

/** GLOBAL STYLES **/
* {
    box-sizing: border-box
}

html,
body {
    margin: 0
}

body {
    font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text-color);
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem
}

/** TOPBAR SECTION **/
.topbar {
    background: #b2b6bd;
    color: var(--white);
    font-size: .875rem;
    padding-block: 0.75rem;
    font-size: 0.95rem;
    font-weight: bolder;

}

.topbar .cpr {
    order: 0;
}

.topbar .phone {
    order: 1;
}

.topbar .topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
}

.topbar .cpr,
.topbar .phone,
.topbar .phone a {
    color: var(--white);
}

.topbar .phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.wa-icon {
    display: inline-flex;
    line-height: 0;
    color: var(--white);
}

/** HEADER SECTION **/
header {
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 40;
    border-bottom: none;
    width: 100%;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2rem;
    min-height: 86px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    z-index: 0;
}

.nav::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100vw;
    height: 320px;
    /* depth of salmon area */
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    background: var(--brand);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    z-index: -1;
}

.brand img {
    display: block;
    height: 60px;
    width: auto;
}

.menu {
    display: flex;
    justify-content: flex-end;
    gap: 2.75rem;
    margin-left: auto;
    padding-right: 1rem;
}

/* Menu links: light brown for contrast on light salmon */
.menu a {
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #835b50;
    font-weight: 800;
    letter-spacing: .6px;
    opacity: .95;
    padding: 0.5rem;
    position: relative;
}

.menu a:hover {
    color: #9e6354;
}
.nav-hero-band {
  position: absolute;
  left: 50%;
  top: 100%;  /* Position it below the menu */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
  margin-top: 1rem; /* Add some space between menu and band */
}

/* clickable elements keep pointer events */
.nav-hero-band a { 
  pointer-events: auto; 
}

/* "Serviços" acima do ícone */
.nav-pill {
  padding: .4rem 2rem;
  border-radius: 999px;
  background: #b2b6bd;
  color: var(--text-color);
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: .4;
}

.nav-hero-title {
  margin: 0 0 18px 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .4px;
  color: #7B4F43;
  text-align: center;
  font-family: var(--font-title);
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: -100px; 
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--colored-section);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  color: #7B4F43;
  z-index: 3;
}

/* Header alto e arredondado (se ainda não tiver) */
.nav{
  padding: 1.1rem 2rem;
  min-height: 86px;
}
.nav::before{
  height: 320px;                
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

/* Responsivo */
@media (max-width:980px){
  .nav::before{ height: 110px; border-radius: 0; }
  .nav-hero-band{ display:none; }
}

@media (max-width: 980px) {
    header {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--brand);
    }

    .nav {
        padding: 0.5rem;
        border-radius: 0;
    }

    .nav::before {
        display: none;
    }

    .brand {
        display: none;
        /* Hide logo on mobile */
    }

    .menu {
        width: 100%;
        justify-content: space-around;
        margin: 0;
        padding: 0.5rem 1rem;
        gap: 0;
    }

    .menu a {
        font-size: 0.75rem;
        text-align: center;
        padding: 0.5rem 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .menu a::before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        margin-bottom: 0.25rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        opacity: 0.8;
    }


}

/* Adjust main content padding for bottom nav on mobile */
@media (max-width: 980px) {
    body {
        padding-bottom: 70px;
        /* Space for bottom navigation */
    }

    .footer {
        margin-bottom: 70px;
        /* Space for bottom navigation */
    }
}

/** HOME SECTION **/
.home {
    margin:0;
    padding: 17rem 0 2rem 3.5rem;
    width: 100%;
}

.container-home {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

.home-title {
    font-family: var(--font-title);
    color: var(--text-color);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.5;
    margin: 0 0 2rem;
}

.home-content {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-color);
    width: 90%;
}

.home-content p {
    margin-bottom: 1.5rem;
    font-size: clamp(1.375rem, 1.6vw, 1.2rem);
}

@media (max-width: 1200px) {
  .home { padding-left: 2rem; }
}

@media (max-width: 980px) {
  
  .home {
    padding: 8rem 0 2rem;
  }
  .container-home {
    padding: 0 1.5rem;
  }
  .home-content {
    width: 100%;
  }
}


@media (max-width: 560px) {
  .home { padding: 6rem 0 1.25rem; }
  .home-content p { margin-bottom: 1rem; }
}
/* END HOME */
/** HERO SECTION **/
.hero{
  background: var(--colored-section);
  padding: 6rem 2rem;
}
.container-hero{
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem
}
.hero .card{                      /* 1 column card */
  background: var(--white);
  border-radius: 24px;               
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 4.5rem 0.5rem 5rem 0.5rem;            
  min-height: unset;                    
}

.hero .content{
  max-width: 1060px;
  margin: 0 auto;
  padding: 0;                           /* center content — no big left padding */
  text-align: center;
}

.hero-title{
  font-family: var(--font-title);
  color: var(--text-color);             /* darker script like the image */
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 3.25rem;
}

.steps-container{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(3rem, 6vw, 8rem);          /* distance between circles */
  position: relative;
  margin: 0 auto;
}

.step{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.step-circle{
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--brand);             /* soft salmon */
  display: grid;
  place-items: center;
  color: var(--text-color);             /* numbers in brown (not white) */
  font-weight: 800;
  font-size: 1.6rem;
  z-index: 1;
}

/* segment lines between circles (stop at each circle) */
.step:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 44px;                            /* center of the 88px circle */
  left: calc(50% + 70px);               /* start at circle edge */
  right: -50%;                          /* reach toward the next circle */
  height: 2px;
  background: #d5c1b8;
}

/* text under each circle */
.step-text{
  margin-top: 1.25rem;
  color: var(--text-color);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  max-width: 30ch;                      /* tidy measure like the mock */
}

/* responsive */
@media (max-width: 980px){
  .hero{ padding: 3rem 0; }
  .hero .card{ padding: 2rem 1rem; }
  .steps-container{ flex-direction: column; gap: 2.5rem; }
  .step:not(:last-child)::after{ display: none; }
  .step-text{ max-width: 48ch; }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero .content {
        padding: 1.5rem 1rem;
    }
}

/* ===== Onde Atendemos (OA) ===== */
.onde-atendemos {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: #fff;
}

.onde-atendemos .container {
  max-width: clamp(1120px, 92vw, 1800px);
}

.espaco-title {
  font-family: var(--font-title);
  color: var(--text-color);
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.espaco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "a b c"
    ". d .";
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* mapeamento das áreas */
.espaco-item.a { grid-area: a; }
.espaco-item.b { grid-area: b; }
.espaco-item.c { grid-area: c; }
.espaco-item.d { grid-area: d; }

/* cartas de imagem */
.espaco-item {
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.espaco-item.a,
.espaco-item.b,
.espaco-item.c {
  aspect-ratio: 16 / 10;   
}

.espaco-item.d {
  aspect-ratio: 16 / 8;    
}

.espaco-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* === Responsivo === */
@media (max-width: 1100px) {

}

@media (max-width: 900px) {
  .espaco-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "c c"
      "d d";
  }

  .espaco-item.c { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .espaco-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }

  .espaco-item { aspect-ratio: 16 / 10; }
  .espaco-item.d { aspect-ratio: 16 / 9; }
}


/** SERVIÇOS SECTION **/
.servicos {
    padding: 1rem 0 6rem 0;
    text-align: center;
}

.container-servico {
    margin: 0 2rem 0 2rem;
}

.servicos-title {
    font-family: var(--font-title);
    color: var(--text-color);
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

.servicos-subtitle {
    color: var(--text-color);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--brand);
    gap: 2rem;
    min-width: 300px;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
}

.servico-titulo {
    font-family: var(--font-title);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.servico-card p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.servico-card li {
    list-style: none;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.servico-card ul li::before {
    content: "•";
    color: var(--text-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.servico-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #5a3730;
    font-size: 1.5rem;  
    font-weight: bold;
    text-decoration: none;
}

.servico-link svg {
    color: #5a3730;
}

.servico-link:hover {
    color: var(--white)
}

@media (max-width: 980px) {
    .servicos-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
    }
}

/** CONTATO SECTION **/
.contato {
    background: var(--colored-section);
    padding: 4rem 4rem 6rem 4rem;
}

.contato-title {
    font-family: var(--font-title);
    color: var(--text-color);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    text-align: center;
    margin: 0 0 .4rem;
}

.contato-sub {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    opacity: .85;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.contato-wrapper {
    border-radius: 12px;
    padding: 5rem 6rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Each column */
.contato-col {
    background-color: var(--white);
    text-align: center;
    display: grid;
    place-items: center;
    gap: 1rem;
    color: #6a5246;
    /* icon/text brown */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.contato-center {
    background: var(--brand);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    color: var(--white);
}

.contato-icon {
    line-height: 0;
    color: #6a5246;
}

.contato-center .contato-icon {
    color: #6a5246;
}

.contato-info,
.contato-address {
    margin: 0 0 .25rem;
    font-weight: 700;
}

.contato-address {
    line-height: 1.6;
}

.contato-btn {
    display: inline-block;
    padding: .7rem 1.1rem;
    border-radius: 8px;
    background: #fff;
    color: #6a5246;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
    font-weight: 700;
}

.contato-btn:hover {
    transform: translateY(-1px);
}

.contato-btn--ghost {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .25);
}

.contato-col:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 980px) {
    .contato-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
    }
}

/** FOOTER SECTION **/
footer {
    background: var(--brand);
    color: #6B4F43;
    text-align: center;
    padding: 3rem 1rem 2rem;
    width: 100%;
}

.footer-logo img {
    width: 200px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.footer-menu a {
    color: #6B4F43;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: color .3s ease;
}

.footer-menu a:hover {
    color: #4a2f28;
}

.footer-divider {
    width: 80%;
    height: 1px;
    background: var(--white);
    margin: 0 auto 1.5rem;
}

.footer-copy {
    color: var(--white);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-logo img {
        width: 150px;
        margin-bottom: 1rem;
    }

    .footer-menu {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-menu a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-menu a {
        padding: 0.5rem 0;
    }

    .footer-copy {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}



/* === Terapia-Trauma: band under navbar with pill + arrow === */
.scroll-down svg {
    width: 28px;
    height: 28px;
    pointer-events: none;
}

@media (max-width: 980px) {
    .nav-hero-band {
        border-radius: 0;
        padding: 3rem 1rem 4.5rem;
    }

    .scroll-down {
        bottom: -30px;
        width: 60px;
        height: 60px;
    }

    .nav-pill {
        font-size: .95rem;
    }
}