/* =================================================================
   REDESIGN PREMIUM - SEÇÕES "O QUE FAZEMOS" E "NOSSO SÍMBOLO"
   ================================================================= */

/* ===== SEÇÃO: O QUE FAZEMOS (EDITORIAL GRID) ===== */

.services-redesign {
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-top: var(--spacing-xs);
    font-style: italic;
}

/* Editorial Grid Layout - 3 COLUNAS IGUAIS */
.services-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    position: relative;
    margin-top: var(--spacing-lg);
}

/* Estilo dos Cards */
.service-card-editorial {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(79, 102, 79, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-editorial:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 102, 79, 0.15);
}

/* Wrapper da Imagem - MENOR */
.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Aspect ratio 1:1 - quadrado */
    overflow: hidden;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-editorial:hover .service-image {
    transform: scale(1.08);
}

/* Overlay sutil */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(79, 102, 79, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-editorial:hover .image-overlay {
    opacity: 1;
}

/* Conteúdo do Card - COMPACTO */
.card-content-editorial {
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
}

.card-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-xs);
}

.service-title-editorial {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-green-dark);
    line-height: 1.3;
    margin-bottom: var(--spacing-xs);
}

.service-description-editorial {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

/* Linha decorativa */
.service-detail-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
    transition: width 0.4s ease;
}

.service-card-editorial:hover .service-detail-line {
    width: 60px;
}

/* Remover elemento decorativo floral */
.floral-decoration {
    display: none;
}

/* ===== SEÇÃO: NOSSO SÍMBOLO (SPLIT LAYOUT) ===== */

.symbol-redesign {
    background: var(--color-green-light);
    /* Rhythm Step 3: Light Green */
    position: relative;
}

.symbol-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    min-height: 70vh;
}

/* Conteúdo (Lado Esquerdo) */
.symbol-content {
    padding-right: var(--spacing-lg);
}

.symbol-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-green-dark);
}

.symbol-description {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-green-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.symbol-description p {
    color: var(--color-green-dark);
    /* Improved contrast on Green Light */
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    /* Explicitly set to standard size */
}

/* Linha Decorativa */
.symbol-decorative-line {
    margin: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
}

.line-ornament {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-green-dark) 0%, transparent 100%);
    position: relative;
}

.line-ornament::before,
.line-ornament::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-green-dark);
}

.line-ornament::before {
    left: 0;
    top: -1px;
}

.line-ornament::after {
    right: 0;
    top: -1px;
}

/* Assinatura */
.symbol-signature {
    margin-top: var(--spacing-md);
}

.signature-text {
    font-size: 2.5rem;
    color: var(--color-green-dark);
    display: inline-block;
    position: relative;
}

/* Visual (Lado Direito) */
.symbol-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.symbol-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    /* Proporção mais vertical/oval */
    display: flex;
    align-items: center;
    justify-content: center;
}

.symbol-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 20px 20px 0 var(--color-green-dark);
    /* Dark shadow for contrast */
    display: block;
}

/* Ilustrações Decorativas */
.symbol-illustration {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    z-index: -1;
}

.symbol-illustration-top {
    top: -20px;
    left: -40px;
    width: 120px;
    height: auto;
    transform: rotate(-15deg);
}

.symbol-illustration-bottom {
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: auto;
    transform: rotate(25deg);
}

.illustration-accent {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* ===== RESPONSIVE MOBILE ===== */

@media (max-width: 900px) {

    /* Services Grid Mobile - Stack em 1 coluna */
    .services-editorial-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .card-image-wrapper {
        padding-top: 100%;
        /* Mantém quadrado no mobile */
    }

    .service-title-editorial {
        font-size: 1.4rem;
    }

    .floral-decoration {
        display: none;
    }

    /* Symbol Section Mobile */
    .symbol-split-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        min-height: auto;
    }

    .symbol-content {
        padding-right: 0;
        text-align: center;
        order: 2;
    }

    .symbol-visual {
        order: 1;
    }

    .symbol-title {
        font-size: 2.5rem;
    }

    .symbol-decorative-line {
        justify-content: center;
    }

    .symbol-illustration-top {
        top: -10px;
        left: -20px;
        width: 80px;
    }

    .symbol-illustration-bottom {
        bottom: -15px;
        right: -15px;
        width: 90px;
    }

    .symbol-frame {
        max-width: 350px;
    }
}

/* ===== ANIMAÇÕES DE SCROLL ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-editorial {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.service-card-editorial:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card-editorial:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-editorial:nth-child(3) {
    animation-delay: 0.3s;
}

.symbol-content,
.symbol-visual {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.symbol-content {
    animation-delay: 0.1s;
}

.symbol-visual {
    animation-delay: 0.3s;
}

/* ===== HEAD NAVIGATION HOVER (from Previous Footer Proposal) ===== */
.nav-list a {
    position: relative;
    /* Ensure existing styles don't conflict, usually just color */
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-accent);
    /* Keep or ensure accent color */
}

.nav-list a:hover::after {
    width: 100%;
}

/* Reverting Footer Redesign - Leaving empty or specific tweaks if needed */