/**
 * Estilos da Página Single Solução (Equipamento)
 *
 * @package GN9V_Solucoes
 */

/* =================================================================
   SEÇÃO
   ================================================================= */

.gn-section {
    padding: 100px 0;
}

.gn-section--alt {
    background: #f9fafb;
}

.gn-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================================================
   HEADING & RULE
   ================================================================= */

.gn-heading {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gn-navy);
}

.gn-heading-block {
    margin-bottom: 48px;
}

.gn-heading-block p {
    width: 100%;
    margin: 24px 0 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.gn-rule {
    width: 60px;
    height: 3px;
    border-radius: 20px;
    background: var(--gn-red);
    margin-top: 12px;
}

/* =================================================================
   HERO
   ================================================================= */

.gn-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 72px 0 80px;
}

.gn-hero__wave {
    position: absolute;
    right: -140px;
    top: -120px;
    width: 700px;
    opacity: 0.14;
    pointer-events: none;
}

.gn-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.gn-hero__text h1 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--gn-navy);
}

.gn-hero__text h1 + .gn-rule {
    margin-top: 24px;
}

.gn-hero__lead {
    margin: 28px 0 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    white-space: normal;
    word-wrap: break-word;
}

.gn-hero__media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Carrossel Hero */
.gn-hero-swiper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    max-height: 500px;
}

.gn-hero-swiper .swiper-button-prev,
.gn-hero-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gn-hero-swiper .swiper-button-prev {
    left: 16px;
}

.gn-hero-swiper .swiper-button-next {
    right: 16px;
}

.gn-hero-swiper .swiper-button-prev::after,
.gn-hero-swiper .swiper-button-next::after {
    content: '';
    width: 16px;
    height: 16px;
    border-top: 2px solid var(--gn-navy);
    border-right: 2px solid var(--gn-navy);
    transition: border-color 0.3s ease;
}

.gn-hero-swiper .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.gn-hero-swiper .swiper-button-next::after {
    transform: rotate(45deg);
    margin-right: 4px;
}

.gn-hero-swiper .swiper-button-prev:hover::after,
.gn-hero-swiper .swiper-button-next:hover::after {
    border-color: var(--gn-red);
}

.gn-hero-swiper .swiper-button-prev.swiper-button-disabled,
.gn-hero-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.gn-hero-swiper .swiper-button-prev.swiper-button-disabled:hover::after,
.gn-hero-swiper .swiper-button-next.swiper-button-disabled:hover::after {
    border-color: var(--gn-navy);
}

.gn-hero__frame {
    position: relative;
    aspect-ratio: 4/3;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.gn-hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gn-hero__placeholder {
    display: none;
    padding: 32px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
}

.gn-hero__frame.is-empty .gn-hero__placeholder {
    display: block;
}

/* Botões Hero */
.gn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gn-hero__actions .gn-btn {
    flex: 1 1 220px;
}

/* =================================================================
   BOTÕES
   ================================================================= */

.gn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 6px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gn-btn--primary {
    background: var(--gn-red);
    color: #fff;
    border-color: var(--gn-red);
}

.gn-btn--primary:hover {
    background: #d02830;
    border-color: #d02830;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 50, 58, 0.25);
}

.gn-btn--outline {
    background: transparent;
    color: var(--gn-navy);
    border-color: var(--gn-navy);
}

.gn-btn--outline:hover {
    background: var(--gn-navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 57, 95, 0.2);
}

/* =================================================================
   SWIPER
   ================================================================= */

.gn-swiper-wrapper {
    position: relative;
    margin-bottom: 0;
}

.swiper-diferenciais,
.swiper-segmentos {
    width: 100%;
}

/* Setas de navegação */
.gn-swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gn-swiper-prev { left: -60px; }
.gn-swiper-next { right: -60px; }

.gn-swiper-nav::after {
    content: '';
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--gn-navy);
    border-right: 2px solid var(--gn-navy);
    transition: border-color 0.3s ease;
}

.gn-swiper-prev::after {
    transform: rotate(-135deg);
    margin-left: 6px;
}

.gn-swiper-next::after {
    transform: rotate(45deg);
    margin-right: 6px;
}

.gn-swiper-nav:hover::after {
    border-color: var(--gn-red);
}

.gn-swiper-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.gn-swiper-nav.swiper-button-lock {
    display: none;
}

.gn-swiper-nav.swiper-button-disabled:hover::after {
    border-color: var(--gn-navy);
}


.gn-carousel__btn--prev::before {
    content: "‹";
    font-size: 24px;
}

.gn-carousel__btn--next::before {
    content: "›";
    font-size: 24px;
}

/* =================================================================
   CARDS
   ================================================================= */

.gn-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.gn-card__num {
    margin: 0 0 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gn-red) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gn-card__num::after {
    content: "";
    flex: none;
    width: 36px;
    height: 2px;
    border-radius: 20px;
    background: var(--gn-red);
}

.gn-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--gn-navy);
}

.gn-card p:not(.gn-card__num) {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    min-height: 96px;
}

/* =================================================================
   SEGMENTOS
   ================================================================= */

.gn-segment {
    background: var(--gn-navy);
    border-radius: 8px;
    padding: 40px 28px;
    min-height: 140px;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
}

.gn-segment:hover {
    transform: translateY(-4px);
    background: #1a3a6e;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gn-segment h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding-top: 16px;
}

.gn-segment h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 20px;
    background: var(--gn-red);
}

/* =================================================================
   TABELA
   ================================================================= */

.gn-specs {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gn-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gn-table thead th {
    background: var(--gn-navy);
    color: #fff;
    padding: 20px 24px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gn-table tbody th {
    width: 300px;
    padding: 20px 24px;
    font-weight: 700;
    color: var(--gn-navy);
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.gn-table tbody td {
    padding: 20px 24px;
    text-align: left;
    color: #555;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.6;
}

.gn-table tbody tr:nth-child(odd) th,
.gn-table tbody tr:nth-child(odd) td {
    background: #fff;
}

.gn-table tbody tr:nth-child(even) th,
.gn-table tbody tr:nth-child(even) td {
    background: #f9fafb;
}

.gn-table tbody tr:last-child th,
.gn-table tbody tr:last-child td {
    border-bottom: 0;
}

/* =================================================================
   FORMULÁRIO
   ================================================================= */

.gn-form-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    background: #fff;
    border-radius: 8px;
    padding: 56px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gn-form-card__intro p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 24px 0 0;
    color: #555;
}

.gn-contact {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    line-height: 1.8;
}

.gn-contact li {
    margin-bottom: 12px;
}

.gn-contact strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gn-red);
    margin-bottom: 4px;
}

.gn-form-rd-station {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 30px;
}
.formulario{
    width: 100%;
    
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 1536px) {
    .gn-container {
        padding: 0 60px;
    }

    .gn-swiper-prev {
        left: -40px;
    }

    .gn-swiper-next {
        right: -40px;
    }
}

@media (max-width: 1024px) {
    .gn-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gn-hero__text h1 {
        font-size: 2.2rem;
    }

    .gn-heading {
        font-size: 1.8rem;
    }

    .gn-carousel__slide {
        min-width: calc(50% - 12px);
        margin-right: 24px;
    }

    .gn-form-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .gn-container {
        padding: 0 50px;
    }

    .gn-swiper-prev {
        left: -35px;
    }

    .gn-swiper-next {
        right: -35px;
    }
}

@media (max-width: 480px) {
    .gn-container {
        padding: 0 60px;
    }

    .gn-swiper-nav {
        width: 28px;
        height: 40px;
    }

    .gn-swiper-nav::after {
        width: 14px;
        height: 14px;
        border-top-width: 1.5px;
        border-right-width: 1.5px;
    }

    .gn-swiper-prev {
        left: -25px;
    }

    .gn-swiper-next {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .gn-section {
        padding: 60px 0;
    }

    .gn-hero {
        padding: 48px 0 56px;
    }

    .gn-hero__text h1 {
        font-size: 1.8rem;
    }

    .gn-heading {
        font-size: 1.5rem;
    }

    .gn-carousel__slide {
        min-width: 100%;
        margin-right: 0;
    }

    .gn-carousel__btn--prev,
    .gn-carousel__btn--next {
        top: auto;
        bottom: -50px;
        transform: none;
    }

    .gn-carousel__btn--prev {
        left: calc(50% - 80px);
    }

    .gn-carousel__btn--next {
        right: auto;
        left: calc(50% + 40px);
    }

    .gn-form-card {
        padding: 28px;
    }

    .gn-table thead {
        display: none;
    }

    .gn-table tbody th,
    .gn-table tbody td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .gn-table tbody th {
        padding-top: 20px;
        border-bottom: 0;
    }

    .gn-table tbody td {
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .gn-section {
        padding: 40px 0;
    }

    .gn-container {
        padding: 0 30px;
    }

    .gn-hero {
        padding: 35px 0px;
    }

    .gn-hero__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .gn-hero__media {
        width: 100%;
        max-width: 100%;
    }

    .gn-hero-swiper {
        max-height: 350px;
        width: 100%;
        max-width: 100%;
    }

    .gn-hero__text h1 {
        font-size: 1.5rem;
    }

    .gn-heading {
        font-size: 1.3rem;
    }

    .gn-heading-block {
        margin-bottom: 32px;
    }

    .gn-btn {
        padding: 14px 24px;
        font-size: 0.8rem;
    }

    .gn-hero__actions .gn-btn {
        flex: 1 1 100%;
    }

    .gn-card {
        padding: 24px;
    }

    .gn-segment {
        padding: 32px 20px;
        min-height: auto;
    }

    .gn-form-card {
        padding: 20px;
    }

    .gn-contact {
        font-size: 0.9rem;
    }
}
