/* ===== HERO SECTION ===== */
.planerr-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: clamp(26px, 6vh, 0px) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.planerr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(0, 45, 85, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 45, 85, 0.85) 100%);
    z-index: 1;
}

.planerr-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-logo {
    animation: fadeInDown 1s ease;
}

.hero-logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-brand {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn-primary {
    background: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
    padding: 14px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

.hero-btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

/* ===== SEÇÃO PROPÓSITO ===== */
.planerr-purpose {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--muted) 100%);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.purpose-card {
    background: var(--background);
    border-radius: 24px;
    padding: 35px 25px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px var(--shadow);
}

.purpose-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px var(--shadow);
}

.purpose-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.purpose-card .card-icon i {
    font-size: 2.2rem;
    color: white;
}

.purpose-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    width: 100%;
}

.purpose-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    width: 100%;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.values-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
}

.values-list li i {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== SEÇÃO SERVIÇOS ===== */
.planerr-services {
    padding: 40px 0;
    background: var(--background);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 45, 85, 0.8) 100%);
    transition: all 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    color: white;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    border-color: white;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.card-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== SEÇÃO DIFERENCIAIS ===== */
.planerr-differentials {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--muted) 100%);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.differential-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--background);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 25px var(--shadow);
}

.differential-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px var(--shadow);
}

.differential-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.differential-card .card-icon i {
    font-size: 2.5rem;
    color: white;
}

.differential-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.differential-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== SEÇÃO SEGMENTOS ATENDIDOS ===== */
.planerr-segments {
    padding: 40px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.planerr-segments::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 113, 19, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.segment-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
    height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px var(--shadow);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Imagens de fundo específicas para cada card */
.segment-card:nth-child(1) {
    background-image: url('https://images.pexels.com/photos/6804265/pexels-photo-6804265.jpeg');
}

.segment-card:nth-child(2) {
    background-image: url('https://images.pexels.com/photos/14484388/pexels-photo-14484388.jpeg');
}

.segment-card:nth-child(3) {
    background-image: url('https://images.pexels.com/photos/5506047/pexels-photo-5506047.jpeg');
}

.segment-card:nth-child(4) {
    background-image: url('https://images.pexels.com/photos/8246743/pexels-photo-8246743.jpeg');
}

.segment-card:nth-child(5) {
    background-image: url('https://images.pexels.com/photos/9978404/pexels-photo-9978404.jpeg');
}

.segment-card:nth-child(6) {
    background-image: url('https://images.pexels.com/photos/11477908/pexels-photo-11477908.jpeg');
}

/* Overlay escuro sobre a imagem */
.segment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 45, 85, 0.8) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

/* Conteúdo do card */
.segment-card>* {
    position: relative;
    z-index: 2;
    color: white;
}

.segment-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.segment-card:hover .segment-icon {
    background: var(--secondary);
    border-color: white;
    transform: scale(1.1);
}

.segment-icon i {
    font-size: 2.5rem;
    color: white;
}

.segment-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0 15px;
}

.segment-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.segment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    padding: 0 15px 25px;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.segment-card:hover .tag {
    background: var(--secondary);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
}

/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 1200px) {

    .services-grid,
    .differentials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .purpose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .purpose-grid,
    .services-grid,
    .differentials-grid,
    .segments-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card {
        height: 300px;
    }

    .media-grid {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 576px) {
    .hero-brand {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .segment-card {
        height: 360px;
    }

    .segment-icon {
        width: 70px;
        height: 70px;
        margin: 25px auto 15px;
    }

    .segment-icon i {
        font-size: 2rem;
    }

    .segment-card h3 {
        font-size: 1.3rem;
    }

    .segment-card p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
}