/* =========================================
   SERVICES HEADER
   ========================================= */

   .services-header {
    padding: 6vh 6% 2vh;
    text-align: center;
}

.services-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--accent-gold);
    text-align: center;
    line-height: 1.05;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.5px;
}

@media (max-width: 1024px) {
    .services-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .services-title { font-size: 2.8rem; }
}

@media (max-width: 450px) {
    .services-header { padding: 4vh 6% 1vh; }
    .services-title  { font-size: 2.4rem; }
}



/* =========================================
   ACCORDION — BASE
   ========================================= */

.accordion-list {
    width: 100%;
    padding: 4vh 6%;
}

.acc-item {
    overflow: hidden;
    position: relative;
}

.acc-item::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-gold) 8%,
        var(--accent-gold) 92%,
        transparent 100%
    );
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.acc-item:first-child::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-gold) 8%,
        var(--accent-gold) 92%,
        transparent 100%
    );
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.acc-item:hover::after,
.acc-item:hover::before,
.acc-item.is-open::after,
.acc-item.is-open::before {
    opacity: 1;
}

/* =========================================
   HEADER
   ========================================= */

.acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s ease;
}

.acc-header:hover .acc-title {
    color: var(--accent-gold);
}

.acc-number {
    font-family: var(--font-topic);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    opacity: 0.7;
    min-width: 5rem;
    flex-shrink: 0;
}

.acc-title {
    flex: 1;
    font-family: var(--font-topic);
    font-size: 3rem;
    line-height: 1.15;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.acc-icon {
    width: 2.8rem;
    height: 2.8rem;
    /* border: 2px solid var(--accent-gold); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.acc-icon i {
    font-size: 1rem;
    color: var(--accent-gold);
    transition: transform 0.4s ease;
}

.acc-item.is-open .acc-icon {
    background: rgba(197, 164, 126, 0.12);
    border-color: var(--accent-gold);
}

.acc-item.is-open .acc-icon i {
    transform: rotate(90deg);
}

.acc-item.is-open .acc-title {
    color: var(--accent-gold);
}

/* =========================================
   BODY
   ========================================= */

.acc-body {
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

/* =========================================
   INNER
   ========================================= */

   .acc-inner {
    display: flex;
    text-align: center;
    width: 100%;
    padding: 4rem 6%;
    gap: 4rem;
    box-sizing: border-box;
}


/* REVERTE */

.acc-inner.reverse {
    flex-direction: row-reverse;
}

/* =========================================
   TEXTO
   ========================================= */

   .acc-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* alinha verticalmente */
    flex: 1;
    max-width: 50%;
}
.acc-text p {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;

    text-wrap: balance;
}




/* =========================================
   BOTÃO
   ========================================= */

.orcamento {
    display: flex;
    justify-content: center;
}

.orcamento a {
    position: relative;
    display: inline-block;
    padding: 22px 48px;
    border-radius: 10px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: bold;
    isolation: isolate;
    transition: color 0.5s ease;
}


.orcamento a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gold);
    border-radius: 10px;
    clip-path: inset(0 100% 0 0 round 10px);
    transition: clip-path 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.orcamento a:hover::before {
    clip-path: inset(0 0% 0 0 round 10px);
}

.orcamento a:hover {
    color: #1a1a1a;
}

/* =========================================
   IMAGEM
   ========================================= */

   .acc-img {
    flex: 1;
    max-width: 50%;
    display: flex;
}

/* IMAGEM NORMAL */

.acc-inner:not(.reverse) .acc-img {
    justify-content: flex-end;
}

/* IMAGEM INVERTIDA */

.acc-inner.reverse .acc-img {
    justify-content: flex-start;
}

.acc-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */

@media (max-width: 1024px) {

    .acc-inner {
        gap: 3rem;
        padding: 3rem 4%;
    }

    .acc-title {
        font-size: 2.2rem;
    }

    .acc-text p {
        font-size: 1.8rem;
        font-weight: bold;
    }

    .acc-number {
        font-size: 1.7rem;
    }
    
    .orcamento a{
        font-size: 1.1rem;
        padding: 18px 40px;
    }
}

@media (max-width: 768px) {

    .acc-inner {
        gap: 2rem;
        padding: 2rem 0;
    }

    .acc-title {
        font-size: 1.7rem;
    }

    .acc-text p {
        font-size: 1.6rem;
        font-weight: bold;
    }

    .acc-img img {
        max-width: 100%;
    }
    .orcamento a {
        font-size: 0.9rem;
        padding: 18px 40px;
    }

}

/* =========================================
   ✅ PORTRAIT — QUALQUER TELA
   Força coluna única: foto → texto → botão
   ========================================= */

@media (orientation: portrait) {
    .acc-inner,
    .acc-inner.reverse {
        flex-direction: column !important;
        gap: 2rem;
        padding: 2.5rem 0;
        text-align: center;
        align-items: center;
        width: 85%;
        margin: 0 auto;
        justify-content: center;
    }

    .acc-img     { order: 1; justify-content: center; width: 100%; max-width: 100%; }
    .acc-img img { margin: 0 auto; }
    .acc-text    { order: 2; align-items: center;     width: 100%; max-width: 100%; text-align: center; }
    .orcamento   { order: 3; justify-content: center; }
}

/* =========================================
   ≤ 450px — ajustes de tamanho
   ========================================= */

@media (max-width: 450px) {
    /* .acc-text p { text-wrap: balance; } */
    .services-header { padding: 4vh 6% 1vh; }
    .services-title  { font-size: 2.4rem; }

    .acc-title   { font-size: 1.8rem; }
    .acc-number  { font-size: 1.4rem; }
    .acc-header  { font-size: 1.4rem; }
    .acc-text p  { font-size: 1.4rem; font-weight: bold; }

    .orcamento a { font-size: 1rem; padding: 15px 28px; }


}

@media (max-width: 375px) {
    .services-title { font-size: 2.4rem; }
    .acc-title      { font-size: 1.5rem; }
    .acc-text p     { font-size: 1.5rem; }
    .acc-number     { font-size: 1.3rem; min-width: 4rem; }
    .orcamento a    { font-size: .8rem; }
}

@media (max-width: 320px) {
    .acc-title  { font-size: 1.2rem; }
    .acc-text p { font-size: 1.3rem; }
    .acc-number { font-size: 1.2rem; min-width: 3rem; }
    .orcamento a { font-size: .75rem; }
}