/* ===============================
   NOSSA ESTRUTURA — PIXEL PERFECT
   Todos os seletores usam .structure-page
   para garantir especificidade maior que style.css
=============================== */

.structure-page {
    background: var(--color-light-green, #ddf399);
    --font-canva: 'Fredoka', 'Poppins', sans-serif;
}


/* ================================
   HERO — layout igual ao Canva
   Barra laranja + área verde com onda
================================ */

.structure-page .hero{
    width: 100%;
    position: relative;
    background: var(--color-light-green, #ddf399);
    overflow: hidden;
    height: auto !important;
    min-height: unset !important;
}

/* Top bar laranja com título */
.structure-page .hero__topbar{
    background: var(--color-primary-orange, #ff7c2a);
    padding: 26px 0 22px;
    text-align: center;
}

.structure-page .hero__topbar h1{
    margin: 0;
      font-family: var(--font-secondary)!important;
    font-weight: 800;
    color: #fff;
    font-size: 3.2rem;
    letter-spacing: 0.5px;
}

/* Área verde + onda */
.structure-page .hero__onda{
    position: relative;
    background: #9fc95b;
    padding: 34px 0 54px;
}

.structure-page .hero__wave{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: #9fc95b;
    pointer-events: none;
}

.structure-page .hero__wave::before,
.structure-page .hero__wave::after{
    content: "";
    position: absolute;
    display: block;
    border-radius: 100% 50%;
}

/* Light green shape (front) */
.structure-page .hero__wave::before{
    width: 58%;
    height: 115%;
    background: var(--color-light-green, #ddf399);
    right: -2%;
    top: 55%;
}

/* Dark green shape (back) */
.structure-page .hero__wave::after{
    width: 58%;
    height: 100%;
    background: #9fc95b;
    left: -2%;
    top: 38%;
}

.structure-page .hero__grid{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
    position: relative;
    z-index: 2;
margin-top: -100px;
}

.structure-page .hero__text p{
    margin: 0;
    max-width:680px;
    color: #3c3c3c;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 1.55;
}

.structure-page .hero-about__cta{
    display: flex;
    justify-content: center;
    align-items: center;
}

.structure-page .hero-about__button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-orange, #ff7c2a) !important;
    color: #fff !important;
    width: 148px;
    padding: 16px 18px;
    border-radius: 999px;
    font-family: var(--font-canva);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.structure-page .hero-about__button:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.16);
}


/* ===============================
   CONTEÚDO
=============================== */

.structure-page .structure-content {
    padding: 10px 0 40px;
}

.structure-page .structure-title{
    color: var(--color-primary-orange, #ff7c2a);
    font-family: var(--font-secondary)!important;
    font-weight: 800;
    font-size: 1.9rem;
    margin: 22px 0 14px;
}

/* ===============================
   CARDS — BASE
   Proporções medidas pixel a pixel:
   - Normal (texto esq | fotos dir): 43% | 57%
   - Reverso (fotos esq | texto dir): 57% | 43%
   - Segurança (verde | laranja):     53% | 47%
=============================== */

.structure-page .structure-item {
    display: grid !important;
    grid-template-columns: 43% 57% !important;
    gap: 0 !important;
 
    overflow: hidden;
    align-items: stretch;
    /* Anular flex/outras propriedades do style.css */
    flex-direction: unset !important;
}

/* Cards com layout invertido: fotos esq | texto dir */
.structure-page .structure-item.reverse {
    grid-template-columns: 57% 43% !important;
        height:400px;
}

/* ---- TEXTO ---- */
.structure-page .structure-text {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    outline: none !important;
    border: none !important;
    box-sizing: border-box;
    box-shadow: none !important;
}

.structure-page .bg-green {
    background: #9fc95b !important;
    color: #fff !important;
    padding:100px;
}

.structure-page .bg-light {
    background: var(--color-light-green, #ddf399) !important;
    color: #333;
        padding:100px;
}

.structure-page .structure-text h3{
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.05;
    margin-top:-79px;
}

.structure-page .structure-text p {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.structure-page .orange {
    color: var(--color-primary-orange, #ff7c2a) !important;
}

/* ===============================
   IMAGENS
   Alturas medidas pixel a pixel:
   - Parquinho:  240px
   - Piscina:    240px
   - Descanso:   240px
   - Banho/Tosa: 300px (fotos mais altas)
=============================== */

.structure-page .structure-images {
    display: grid !important;
    gap: 0 !important;
    overflow: hidden;
}

/* Parquinho: 3 imagens — 1ª coluna esq ocupa 2 linhas */
.structure-page .structure-images.three {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    height:400px;
}

.structure-page .structure-images.three img:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* 2 imagens lado a lado */
.structure-page .structure-images.two {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
    height:400px;
}

/* Banho e Tosa tem fotos mais altas */
.structure-page .structure-item.banho-tosa .structure-images.two {
    height:400px;
}

/* Todas as imgs preenchem 100% da célula */
.structure-page .structure-images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
    /* Anular estilos globais de imagem do style.css */
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===============================
   SEGURANÇA COMPLETA
   Proporção medida: 53% verde | 47% laranja
=============================== */

.structure-page .structure-security {
    display: grid !important;
    grid-template-columns: 53% 47% !important;
    overflow: hidden;
}

.structure-page .security-left {
    background: #9fc95b !important;
    padding:180px 28px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.structure-page .security-left h3{
    font-family: var(--font-secondary);
    font-size: 3.0rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    color: #fff !important;
    margin: 0;
}

.structure-page .security-right {
    background: var(--color-primary-orange, #ff7c2a) !important;
    color: #fff !important;
    padding: 28px;
    display: flex;
    align-items: center;
}

.structure-page .security-right ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.structure-page .security-right li {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #fff !important;
}

.structure-page .security-right li:last-child {
    margin-bottom: 0;
}

/* ícone check circular — alta especificidade para sobrepor .check-icon do style.css */
.structure-page .security-right li .check-icon {
    flex-shrink: 0 !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    color: #fff !important;
    font-weight: 900 !important;
    margin-top: 1px;
    line-height: 1 !important;
    /* Anular qualquer outline/border do style.css */
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 26px !important;
}

.structure-page .security-right li strong {
    display: block;
    font-weight: 800;
    margin-bottom: 2px;
    font-size: 1.5rem;
    color: #fff !important;
}

.structure-page .security-right li .item-text {
    flex: 1;
    color: #fff !important;
}

/* ===============================
   RESPONSIVO
=============================== */
@media (max-width: 900px){
    .structure-page .hero__grid{
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
        margin: 0;
    }
    .structure-page .hero__text p{ margin: 0 auto; }
}

@media (max-width: 768px){
    .structure-page .structure-item,
    .structure-page .structure-item.reverse,
    .structure-page .structure-security{
        grid-template-columns: 1fr !important;
    }
    .structure-page .structure-images.two,
    .structure-page .structure-images.three{
        height: 220px;
    }
    .structure-page .structure-item.banho-tosa .structure-images.two{
        height: 260px;
    }
}
