/* ============================================================
   Página: Eucalipto Tratado — Armazém do Eucalipto
   UI/UX Pro Max reviewed
   ============================================================ */

/* Remove padding do site-main herdado pelo header.php em páginas internas */
.site-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove o margin-top do footer que cria o gap antes do rodapé */
.site-footer {
    margin-top: 0 !important;
}

/* FAQ é a última seção — padding-bottom mínimo para não clipar o último item */
#faq {
    padding-bottom: 2rem;
}

/* Outfit para headlines — consistência com a Home */
.page-hero__title,
.content-block__title,
.content-section__title,
.cta-title {
    font-family: 'Outfit', sans-serif;
}

/* picture como bloco para não quebrar aspect-ratio */
picture {
    display: block;
    width: 100%;
    height: 100%;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* prefers-reduced-motion global desta página */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   HERO — conteúdo centrado verticalmente, não colado no rodapé
   ========================================================== */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;   /* conteúdo no topo, logo abaixo do menu */
    overflow: hidden;
    background-color: #201101;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.42);
    transition: transform 10s ease;
}

.page-hero:hover .page-hero__bg {
    transform: scale(1.03);
}

/* Gradiente: escuro no topo (integra com header) e na base */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(32,17,1,0.7)  0%,
        rgba(32,17,1,0.1) 40%,
        rgba(32,17,1,0.1) 60%,
        rgba(32,17,1,0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* 120px = altura do header transparente + 90px de respiro */
    padding: 210px 1.5rem 80px;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(233,228,208,0.6);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.page-hero__breadcrumb a {
    color: rgba(233,228,208,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover,
.page-hero__breadcrumb a:focus-visible { color: #CD9C3D; }

.page-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(205,156,61,0.18);
    border: 1px solid rgba(205,156,61,0.45);
    color: #CD9C3D;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 780px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero__title span { color: #CD9C3D; }

.page-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(233,228,208,0.85);
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.page-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Linha separadora decorativa no topo do título */
.page-hero__title-line {
    display: block;
    width: 56px;
    height: 3px;
    background: #CD9C3D;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* ==========================================================
   BOTÕES HERO
   ========================================================== */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #CD9C3D;
    color: #201101;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #CD9C3D;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    min-height: 48px; /* touch target */
}

.btn-hero-primary:hover {
    background: #b8892f;
    border-color: #b8892f;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(205,156,61,0.4);
}

.btn-hero-primary:focus-visible {
    outline: 3px solid #CD9C3D;
    outline-offset: 3px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: #E9E4D0;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(233,228,208,0.4);
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
    min-height: 48px;
}

.btn-hero-secondary:hover {
    border-color: rgba(233,228,208,0.85);
    background: rgba(233,228,208,0.08);
}

.btn-hero-secondary:focus-visible {
    outline: 3px solid #E9E4D0;
    outline-offset: 3px;
}

/* ==========================================================
   BARRA DE SELOS DOURADA
   ========================================================== */
.guarantee-bar {
    background: #CD9C3D;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;
}

.guarantee-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.guarantee-bar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #201101;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.2px;
}

.guarantee-bar__item svg {
    flex-shrink: 0;
}

/* ==========================================================
   SEÇÕES DE CONTEÚDO
   ========================================================== */
.content-section {
    padding: 4.5rem 0;
}

.bg-white { background: #fff; }
.bg-cream  { background: #E9E4D0; }

/* Transição suave entre sections */
.bg-white + .bg-cream,
.bg-cream + .bg-white {
    border-top: 1px solid rgba(175,134,86,0.12);
}

/* Ambos os containers usam o mesmo max-width e padding do hero
   para que as bordas esquerdas fiquem perfeitamente alinhadas */
.content-container,
.wide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Introdução */
.intro-block { margin-bottom: 2.5rem; }

.intro-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: #201101;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.85;
}

.intro-lead strong,
.intro-text strong { color: #201101; font-weight: 700; }

/* ==========================================================
   3 FOTOS NO TOPO
   ========================================================== */
.photos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.photos-row__item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: block;
    position: relative;
}

.photos-row__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(32,17,1,0);
    transition: background 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.photos-row__item:hover::after {
    background: rgba(32,17,1,0.18);
}

.photos-row__item:hover img {
    transform: scale(1.06);
}

.photos-row__item img {
    transition: transform 0.5s ease;
}

/* ==========================================================
   BLOCOS H2 + TEXTO + CTA
   ========================================================== */
.content-block {
    padding: 2.75rem 0;
    border-bottom: 1px solid rgba(175,134,86,0.18);
}

.content-block:last-child { border-bottom: none; }

/* H2 com linha lateral (mais sofisticado que border-bottom inline) */
.content-block__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #201101;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid #CD9C3D;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.content-block__body p {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.content-block__body p strong { color: #201101; font-weight: 700; }
.content-block__body p:last-child { margin-bottom: 0; }

.content-list {
    margin: 1rem 0 0 0.25rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-list li {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.65;
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 8px;
    height: 8px;
    background: #CD9C3D;
    border-radius: 50%;
    flex-shrink: 0;
}

.content-block__cta {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
}

/* Botões de WhatsApp no corpo — verde padrão WhatsApp */
.content-block__cta .btn-content[href*="whatsapp"] {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.content-block__cta .btn-content[href*="whatsapp"]:hover {
    background: #1ebe5a;
    border-color: #1ebe5a;
    color: #fff;
}

.btn-content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #201101;
    color: #E9E4D0;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #201101;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    min-height: 44px;
}

.btn-content:hover {
    background: #CD9C3D;
    border-color: #CD9C3D;
    color: #201101;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(205,156,61,0.35);
}

.btn-content:focus-visible {
    outline: 3px solid #CD9C3D;
    outline-offset: 3px;
}

/* ==========================================================
   GRADE DE 6 FOTOS (container largo — 1200px)
   ========================================================== */
.photos-grid-section {
    padding: 0 0 4.5rem;
    background: #E9E4D0;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.photos-grid__item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.photos-grid__item img {
    transition: transform 0.5s ease;
}

.photos-grid__item:hover img { transform: scale(1.06); }

.photos-grid__overlay {
    position: absolute;
    inset: 0;
    background: rgba(32,17,1,0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

.photos-grid__item:hover .photos-grid__overlay {
    background: rgba(32,17,1,0.32);
    opacity: 1;
}

/* ==========================================================
   FAQ
   ========================================================== */
.section-header-centered {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: block;
    color: #AF8656;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.5rem;
}

.content-section__title {
    color: #201101;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.content-section__title span { color: #CD9C3D; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(175,134,86,0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover { border-color: rgba(205,156,61,0.4); }
.faq-item.open  { border-color: #CD9C3D; box-shadow: 0 4px 16px rgba(205,156,61,0.1); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* touch target mínimo 44px */
    padding: 1.1rem 1.5rem;
    min-height: 56px;
    cursor: pointer;
    gap: 1rem;
    user-select: none;
}

.faq-question:focus-visible {
    outline: 3px solid #CD9C3D;
    outline-offset: -3px;
    border-radius: 10px;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #201101;
    line-height: 1.4;
    flex: 1;
    margin: 0;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(205,156,61,0.1);
    color: #CD9C3D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.3s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
    background: #CD9C3D;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer__inner {
    border-top: 1px solid rgba(175,134,86,0.15);
    padding: 1.1rem 1.5rem 1.4rem;
    color: #4a3728;
    font-size: 0.98rem;
    line-height: 1.8;
}

.faq-answer__inner strong { color: #201101; }
.faq-answer__inner a {
    color: #AF8656;
    font-weight: 600;
    text-underline-offset: 3px;
    text-decoration: underline;
}

/* ==========================================================
   CTA FINAL
   ========================================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, #201101 0%, #2e1604 50%, #201101 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Detalhe ornamental de fundo */
.cta-section::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205,156,61,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    background: rgba(205,156,61,0.12);
    color: #CD9C3D;
    border: 1px solid rgba(205,156,61,0.3);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.cta-title {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.cta-title span { color: #CD9C3D; }

.cta-subtitle {
    color: rgba(233,228,208,0.75);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.75rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    padding: 0.95rem 1.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(37,211,102,0.28);
    cursor: pointer;
    min-height: 52px;
}

.btn-cta-whatsapp:hover {
    background: #1db954;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,211,102,0.4);
}

.btn-cta-whatsapp:focus-visible {
    outline: 3px solid #25D366;
    outline-offset: 3px;
}

.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: #E9E4D0;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 1.9rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(233,228,208,0.3);
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
    min-height: 52px;
}

.btn-cta-phone:hover {
    border-color: rgba(233,228,208,0.8);
    background: rgba(233,228,208,0.07);
}

.btn-cta-phone:focus-visible {
    outline: 3px solid #E9E4D0;
    outline-offset: 3px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-trust__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(233,228,208,0.5);
    font-size: 0.85rem;
}

.cta-trust__item svg { color: #CD9C3D; }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox-overlay.active { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1024px) {
    .page-hero__title { font-size: clamp(1.9rem, 4vw, 3rem); }
}

@media (max-width: 768px) {
    .page-hero { min-height: 100svh; }

    .page-hero__content {
        padding-top: 100px;  /* 70px header mobile + 30px respiro */
        padding-bottom: 3.5rem;
    }

    .guarantee-bar { overflow-x: hidden; }
    .guarantee-bar__inner { gap: .75rem 1rem; flex-wrap: wrap; }
    .guarantee-bar__item  { font-size: 0.8rem; flex-shrink: 0; }

    .content-section { padding: 3rem 0; }

    .photos-row { grid-template-columns: 1fr 1fr; }
    .photos-row__item:last-child { grid-column: span 2; }

    .photos-grid { grid-template-columns: 1fr 1fr; }

    .content-block__title { font-size: 1.3rem; }

    .cta-actions { flex-direction: column; align-items: stretch; }
    .btn-cta-whatsapp,
    .btn-cta-phone { justify-content: center; }

    .cta-trust { flex-direction: column; gap: 0.6rem; }
}

@media (max-width: 480px) {
    .photos-row { grid-template-columns: 1fr; }
    .photos-row__item:last-child { grid-column: span 1; }

    .photos-grid { grid-template-columns: 1fr; }

    .guarantee-bar__inner { flex-direction: column; gap: 0.5rem; text-align: center; }

    .page-hero__actions { flex-direction: column; }
    .btn-hero-primary,
    .btn-hero-secondary { justify-content: center; }
}
