/* Ana Terra Tattoo | v1.8.0 | Espaço, FAQ mobile e rodapé */

.att-section-anchor-v18 {
    display: block;
    position: relative;
    height: 0;
    scroll-margin-top: 92px;
}

/* Estúdio Ana Terra */
.att-space-v18 {
    position: relative;
    padding: clamp(92px, 9vw, 148px) 0;
    overflow: hidden;
    background: var(--att-ivory);
    color: var(--att-earth);
}

.att-space-v18::before {
    content: "";
    position: absolute;
    width: min(38vw, 620px);
    aspect-ratio: 1;
    right: -14vw;
    top: 4%;
    border-radius: 50%;
    border: 1px solid rgba(217,154,43,.14);
    box-shadow: 0 0 0 42px rgba(217,154,43,.025), 0 0 0 84px rgba(217,154,43,.018);
    pointer-events: none;
}

.att-space-v18-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
    gap: clamp(64px, 8vw, 128px);
    align-items: center;
}

.att-space-v18-photo {
    width: min(100%, 590px);
    margin: 0;
    justify-self: end;
}

.att-space-v18-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 28px;
    background: #efe3d4;
    box-shadow: 0 30px 80px rgba(58,33,26,.12);
}

.att-space-v18-photo figcaption {
    margin: 16px 8px 0;
    color: var(--att-muted);
    font-family: var(--att-font-script);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.1;
}

.att-space-v18-content {
    width: min(100%, 650px);
}

.att-space-v18-content .att-kicker { color: var(--att-red); }
.att-space-v18-content .att-heading {
    max-width: 620px;
    margin: 14px 0 24px;
    font-size: clamp(52px, 5vw, 78px);
    line-height: .94;
}
.att-space-v18-content > p {
    max-width: 590px;
    margin: 0;
    color: var(--att-muted);
    font-size: 17px;
    line-height: 1.76;
}

.att-space-v18-facts {
    margin-top: 34px;
    border-top: 1px solid var(--att-border);
}
.att-space-v18-facts > div {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 22px;
    align-items: baseline;
    padding: 17px 0;
    border-bottom: 1px solid var(--att-border);
}
.att-space-v18-facts span {
    color: var(--att-red);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .19em;
}
.att-space-v18-facts strong {
    color: var(--att-earth);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.att-space-v18-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.att-space-v18-actions a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.att-space-v18-actions a:hover { transform: translateY(-2px); }
.att-space-v18-primary { background: var(--att-earth); color: var(--att-ivory); }
.att-space-v18-primary i { color: var(--att-gold); font-style: normal; }
.att-space-v18-secondary { border: 1px solid rgba(58,33,26,.20); color: var(--att-earth); background: transparent; }
.att-space-v18-secondary:hover { border-color: var(--att-gold); }

/* FAQ mobile v18 */

/* Footer */
.att-footer-v18 {
    padding: 76px 0 22px;
    background: #2c1711;
    color: var(--att-ivory);
}
.att-footer-v18-main {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr;
    gap: clamp(56px, 7vw, 120px);
    padding-bottom: 64px;
}
.att-footer-v18-brand { max-width: 360px; }
.att-footer-v18-wordmark {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    color: inherit;
    text-decoration: none;
    font-family: var(--att-font-display);
}
.att-footer-v18-wordmark span { font-size: clamp(34px, 3vw, 48px); letter-spacing: .12em; line-height: .9; }
.att-footer-v18-wordmark small { font-family: var(--att-font-body); font-size: 8px; letter-spacing: .35em; opacity: .65; }
.att-footer-v18-brand p { max-width: 320px; margin: 24px 0 0; color: rgba(255,249,239,.56); font-size: 14px; line-height: 1.7; }
.att-footer-v18-label { display: block; margin-bottom: 18px; color: var(--att-gold); font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.att-footer-v18-nav,
.att-footer-v18-social { display: flex; flex-direction: column; align-items: flex-start; }
.att-footer-v18-nav a,
.att-footer-v18-social a {
    padding: 6px 0;
    color: rgba(255,249,239,.82);
    text-decoration: none;
    font-family: var(--att-font-display);
    font-size: 19px;
    line-height: 1.2;
    transition: color .2s ease, transform .2s ease;
}
.att-footer-v18-nav a:hover,
.att-footer-v18-social a:hover { color: var(--att-gold); transform: translateX(3px); }
.att-footer-v18-social a i { color: var(--att-gold); font-style: normal; font-family: var(--att-font-body); font-size: 10px; }
.att-footer-v18-social small { margin-top: 16px; color: rgba(255,249,239,.44); font-size: 10px; line-height: 1.6; }
.att-footer-v18-bottom {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,249,239,.10);
    color: rgba(255,249,239,.42);
    font-size: 9px;
    letter-spacing: .08em;
}
.att-footer-v18-bottom button {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: rgba(255,249,239,.58);
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}
.att-footer-v18-bottom button:hover { color: var(--att-gold); }

/* Terms */
.att-terms-v18 {
    width: min(760px, calc(100vw - 32px));
    max-height: min(82vh, 760px);
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: transparent;
    color: var(--att-earth);
    overflow: visible;
}
.att-terms-v18::backdrop { background: rgba(22,11,8,.72); backdrop-filter: blur(8px); }
.att-terms-v18-card {
    position: relative;
    max-height: min(82vh, 760px);
    overflow: auto;
    padding: clamp(34px, 5vw, 62px);
    border-radius: 26px;
    background: #fff9ef;
    box-shadow: 0 40px 120px rgba(0,0,0,.25);
}
.att-terms-v18-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(58,33,26,.14);
    border-radius: 50%;
    background: transparent;
    color: var(--att-earth);
    font-size: 24px;
    cursor: pointer;
}
.att-terms-v18 h2 { margin: 8px 0 26px; font-family: var(--att-font-display); font-size: clamp(40px, 5vw, 62px); font-weight: 400; line-height: 1; }
.att-terms-v18 h3 { margin: 26px 0 8px; font-family: var(--att-font-display); font-size: 24px; font-weight: 400; }
.att-terms-v18 p { margin: 0 0 12px; color: var(--att-muted); font-size: 14px; line-height: 1.7; }
.att-terms-v18-date { margin-top: 28px !important; font-size: 10px !important; letter-spacing: .06em; }

@media (max-width: 980px) {
    .att-space-v18-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; }
    .att-space-v18-content .att-heading { font-size: clamp(46px, 6vw, 66px); }
    .att-footer-v18-main { grid-template-columns: 1fr 1fr; }
    .att-footer-v18-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 767px) {
    .att-section-anchor-v18 { scroll-margin-top: 76px; }

    .att-space-v18 {
        padding: 92px 0 96px;
        text-align: center;
    }
    .att-space-v18::before { display: none; }
    .att-space-v18-grid {
        width: min(calc(100% - 36px), 460px);
        display: flex;
        flex-direction: column;
        gap: 34px;
        align-items: center;
    }
    .att-space-v18-content { order: 1; width: 100%; }
    .att-space-v18-photo { order: 2; width: 100%; justify-self: auto; }
    .att-space-v18-content .att-kicker { text-align: center; }
    .att-space-v18-content .att-heading {
        max-width: 390px;
        margin: 12px auto 20px;
        font-size: clamp(39px, 11vw, 52px);
        line-height: .98;
        text-align: center;
    }
    .att-space-v18-content > p {
        max-width: 390px;
        margin-inline: auto;
        font-size: 14px;
        line-height: 1.65;
        text-align: center;
    }
    .att-space-v18-photo img { width: 100%; height: auto; border-radius: 22px; }
    .att-space-v18-photo figcaption { display: none; }
    .att-space-v18-facts { margin-top: 28px; }
    .att-space-v18-facts > div {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 0;
        text-align: center;
    }
    .att-space-v18-facts strong { max-width: 340px; margin-inline: auto; font-size: 13px; }
    .att-space-v18-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 26px;
    }
    .att-space-v18-actions a { width: 100%; }


    .att-footer-v18 { padding: 64px 0 18px; text-align: center; }
    .att-footer-v18-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 44px;
        padding-bottom: 46px;
    }
    .att-footer-v18-brand,
    .att-footer-v18-nav,
    .att-footer-v18-social { width: 100%; max-width: 360px; align-items: center; text-align: center; }
    .att-footer-v18-wordmark { align-items: center; }
    .att-footer-v18-wordmark span { font-size: 36px; }
    .att-footer-v18-brand p { margin: 20px auto 0; }
    .att-footer-v18-nav a,
    .att-footer-v18-social a { font-size: 21px; }
    .att-footer-v18-nav a:hover,
    .att-footer-v18-social a:hover { transform: none; }
    .att-footer-v18-social small { margin-inline: auto; }
    .att-footer-v18-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding-top: 20px;
        text-align: center;
    }
    .att-terms-v18 { width: calc(100vw - 24px); }
    .att-terms-v18-card { padding: 40px 24px 30px; text-align: center; }
    .att-terms-v18 h2 { font-size: 42px; }
    .att-terms-v18 h3 { font-size: 23px; }
    .att-terms-v18 p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .att-space-v18-actions a,
    .att-footer-v18-nav a,
    .att-footer-v18-social a { transition: none !important; }
}

/* v1.8.1 | refinos finais */
.att-space-v18-photo figcaption { display: none !important; }
.att-space-v18-actions .att-space-v18-primary,
.att-space-v18-actions .att-space-v18-primary:visited,
.att-space-v18-actions .att-space-v18-primary:hover,
.att-space-v18-actions .att-space-v18-primary:focus,
.att-space-v18-actions .att-space-v18-primary:active {
    background: var(--att-earth) !important;
    color: var(--att-ivory) !important;
    border-color: var(--att-earth) !important;
    -webkit-text-fill-color: var(--att-ivory) !important;
}
.att-space-v18-actions .att-space-v18-primary i { color: var(--att-gold) !important; -webkit-text-fill-color: var(--att-gold) !important; }

/* Neutraliza qualquer rosa/magenta herdado do tema na FAQ desktop. */
.att-faq-item button,
.att-faq-item button:hover,
.att-faq-item button:focus,
.att-faq-item button:focus-visible,
.att-faq-item button:active {
    background: transparent !important;
    color: var(--att-earth) !important;
    border-color: transparent !important;
    outline-color: var(--att-gold) !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.att-faq-item button span { color: var(--att-earth) !important; -webkit-text-fill-color: var(--att-earth) !important; }
.att-faq-item button i { color: var(--att-gold) !important; -webkit-text-fill-color: var(--att-gold) !important; }



/* v1.15.3 | Dúvidas mobile reconstruída do zero */
.att-mobile-faq-v153 { display: none; }

@media (max-width: 767px) {
    .att-mobile-faq-v153 {
        display: block;
        width: 100%;
        padding: 78px 0 84px;
        overflow: clip;
        background: #f4eadc;
        color: var(--att-earth);
    }

    .att-mobile-faq-v153-inner {
        width: min(calc(100% - 32px), 440px);
        margin: 0 auto;
    }

    .att-mobile-faq-v153-header {
        margin-bottom: 30px;
        text-align: center;
    }

    .att-mobile-faq-v153-header > span {
        display: block;
        margin-bottom: 10px;
        color: var(--att-red);
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .24em;
    }

    .att-mobile-faq-v153-header h2 {
        margin: 0;
        font-family: var(--att-font-display);
        font-size: clamp(35px, 9.4vw, 43px);
        font-weight: 400;
        line-height: .98;
        letter-spacing: -.025em;
    }

    .att-mobile-faq-v153-header p {
        max-width: 294px;
        margin: 14px auto 0;
        color: var(--att-muted);
        font-size: 12px;
        line-height: 1.55;
    }

    .att-mobile-faq-v153-list {
        border-top: 1px solid rgba(58,33,26,.15);
    }

    .att-mobile-faq-v153-item {
        margin: 0;
        padding: 0;
        border: 0;
        border-bottom: 1px solid rgba(58,33,26,.15);
        background: transparent;
    }

    .att-mobile-faq-v153-item summary {
        min-height: 72px;
        display: grid;
        grid-template-columns: minmax(0,1fr) 30px;
        align-items: center;
        gap: 14px;
        padding: 15px 2px 15px 0;
        border: 0;
        background: transparent !important;
        color: var(--att-earth);
        box-shadow: none !important;
        list-style: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .att-mobile-faq-v153-item summary::-webkit-details-marker { display: none; }
    .att-mobile-faq-v153-item summary::marker { content: ""; }

    .att-mobile-faq-v153-item summary span {
        min-width: 0;
        max-width: 100%;
        font-family: var(--att-font-display);
        font-size: clamp(18px, 4.75vw, 21px);
        font-weight: 400;
        line-height: 1.18;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: none;
        color: var(--att-earth) !important;
        -webkit-text-fill-color: var(--att-earth) !important;
    }

    .att-mobile-faq-v153-item summary i {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        align-self: center;
        border: 1px solid rgba(58,33,26,.18);
        border-radius: 50%;
        background: transparent;
        color: var(--att-gold) !important;
        -webkit-text-fill-color: var(--att-gold) !important;
        font-style: normal;
        font-size: 19px;
        line-height: 1;
        transition: transform .2s ease, background-color .2s ease;
    }

    .att-mobile-faq-v153-item[open] summary i {
        transform: rotate(45deg);
        background: rgba(217,154,43,.09);
    }

    .att-mobile-faq-v153-answer {
        padding: 0 44px 20px 0;
    }

    .att-mobile-faq-v153-answer p {
        margin: 0;
        color: var(--att-muted);
        font-size: 12.5px;
        line-height: 1.62;
        text-align: left;
    }

    .att-mobile-faq-v153-item summary:focus-visible {
        outline: 2px solid var(--att-gold);
        outline-offset: 4px;
        border-radius: 4px;
    }
}

@media (max-width: 360px) {
    .att-mobile-faq-v153-inner { width: calc(100% - 28px); }
    .att-mobile-faq-v153-item summary { grid-template-columns: minmax(0,1fr) 28px; gap: 10px; }
    .att-mobile-faq-v153-item summary span { font-size: 17.5px; }
    .att-mobile-faq-v153-item summary i { width: 28px; height: 28px; }
    .att-mobile-faq-v153-answer { padding-right: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .att-mobile-faq-v153-item summary i { transition: none !important; }
}

/* v1.8.2 | Espaço sem rota */
.att-space-v18-whatsapp-only {
    min-width: 190px;
    border-color: rgba(58,33,26,.24);
    background: transparent;
}
.att-space-v18-whatsapp-only:hover,
.att-space-v18-whatsapp-only:focus-visible {
    border-color: var(--att-gold);
    color: var(--att-earth);
    outline: none;
}
