.hero-content,
.hero-section {
    width: 100%;
    align-items: center;
    display: flex
}

.hero-content,
.hero-section,
.pillar-icon,
.video-wrapper {
    position: relative
}

.hero-section {
    height: calc(100vh - 76px);
    overflow: hidden;
    background: #111;
    justify-content: flex-start
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-content {
    z-index: 2;
    height: 100%;
    justify-content: flex-start;
    padding-left: 10%
}

.pillar-icon,
.video-button {
    align-items: center;
    line-height: 1
}

.hero-text {
    max-width: 500px;
    padding: 50px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    transform: rotate(-3deg) translateZ(0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    transition: .3s;
    will-change: transform
}

.hero-button,
.video-button:hover {
    background: var(--accent-teal)
}

.pillar,
.thumb {
    max-width: 100%
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255, 255, 255, .2);
    transition: text-shadow .3s
}

.hero-text p {
    font-size: 1.2rem;
    color: #eee
}

.hero-button {
    padding: 16px 40px;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.3rem;
    transition: .3s;
    display: inline-block
}

.hero-button:hover {
    border-radius: 50px;
    transition: .5s
}

.pillars-section {
    padding: 30px;
    background: #111;
    color: #fff
}

.pillars-category {
    margin-bottom: 30px
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
}

.pillars-category h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ff3b30, #ff9f0a, #ffd60a, #ff375f, #30d5c8, #ff3b30);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 8s linear infinite marqueeGradient
}

@keyframes marqueeGradient {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: -100% 0
    }
}

.video-wrapper a {
    text-decoration: none;
    color: inherit;
    display: block;
    line-height: 0
}

.pillar-icon {
    display: inline-flex;
    justify-content: center;
    font-size: 1.4rem;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #333;
    animation: 2s infinite pulse
}

.modal-overlay,
.pillar {
    justify-content: center
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.2);
        opacity: .7
    }
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 5px
}

.pillar-offer div {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex
}

.pillar p {
    font-size: 1rem;
    line-height: 1.5
}

.pillar,
.pillars-grid,
.pillars-section {
    box-sizing: border-box
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%
}

.pillar {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #222;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .4);
    transition: .3s
}

.featured-service {
    background: #f55;
    color: #fff;
    text-align: center;
    max-width: 100%;
    max-height: fit-content
}

.featured-service h2 {
    font-size: 2rem;
    line-height: normal
}

.featured-service p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto
}

.featured-service .hero-button {
    background: #fff;
    color: #f55
}

.featured-service .hero-button:hover {
    background: #ffe5e5
}

.thumb {
    height: auto;
    opacity: 100%
}

.video-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    z-index: 5;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%
}

.video-button p {
    font-size: 25px;
    text-align: center;
    line-height: .5;
    width: fit-content;
    padding-left: 4px;
    padding-bottom: 1px
}

.swiper {
    width: 75vw;
    aspect-ratio: 16/9;
    overflow: hidden
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: 700;
    background-color: #111
}

.contact-section {
    background: #111;
    color: #fff;
}

/* mesma lógica visual dos pillars */
.contact-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    align-items: center;
}

/* lado esquerdo */
.contact-left h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff3b30, #ff9f0a, #ffd60a, #ff375f, #30d5c8, #ff3b30);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 8s linear infinite marqueeGradient
}

.contact-left p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 400px;
}

/* FORM */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;

    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);

    color: #fff;
    font-size: 1rem;
    outline: none;

    backdrop-filter: blur(12px);

    text-align: start;

    transition:
        border 0.25s,
        background 0.25s,
        box-shadow 0.25s;
}

/* remove estilo padrão feio (azul/branco autofill) */
.form-group input:-webkit-autofill,
.form-group textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #111 inset;
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

/* foco mais elegante */
.form-group input:focus,
.form-group textarea:focus {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

/* placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-align: start;
}

/* botão */
.form-button {
    grid-column: span 2;

    padding: 18px;
    border-radius: 16px;
    border: none;

    background: linear-gradient(135deg, #ffffff, #dcdcdc);
    color: #111;

    font-weight: 600;
    font-size: 1rem;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.25s,
        color 0.25s;

    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-button:active {
    transform: scale(0.98);
}

.form-button .btn-fill {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transition: opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.form-button.is-loading {
    pointer-events: none;
    color: transparent;
}

.form-button.is-loading .btn-text {
    visibility: hidden;
}

.form-button.is-loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid rgba(17, 17, 17, 0.3);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-button.is-success {
    background: #34d399;
    color: #fff;
}

.form-button.is-error {
    background: #f87171;
    color: #fff;
}

.pillars-category:last-of-type {
    margin-bottom: 50px;
}

.form-group input.error,
.form-group textarea.error {
    border: 1px solid rgba(255, 80, 80, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.15);
    animation: shake 0.25s ease;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}

.form-button {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* seleção de texto normal */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Chrome / Safari */
::-webkit-selection {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-group input,
.form-group textarea {
    caret-color: #fff;
    /* ou qualquer cor do seu tema */
}


/* remove fundo feio do autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #111 inset;
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}

@media (max-width:768px) {
    .pillar:hover {
        box-shadow: none
    }

    .pillars-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .pillar {
        max-width: 100%;
        padding: 20px;
        border-radius: 15px
    }

    .bulk-offer div,
    .pillar p,
    .pillar-offer div {
        font-size: .95rem;
        line-height: 1.4
    }

    .pillars-category:last-child {
        margin-bottom: 2rem;
    }

    .hero-section {
        height: calc(100svh - 76px)
    }

    #pillars-section {
        padding: 30px 20px
    }

    .hero-button {
        display: none
    }

    .hero-text {
        max-width: 80%;
        padding: 25px;
        margin-left: 5%
    }

    .hero-text h1 {
        font-size: 2rem
    }

    .hero-text p {
        font-size: 1.2rem
    }

    .hero-content {
        padding-left: 5%;
        justify-content: flex-start
    }

    .video-button {
        width: 35px;
        height: 35px
    }

    .video-button p {
        font-size: 15px;
        padding-left: 2px;
        padding-bottom: 0
    }

    .contact-container {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .form-button {
        grid-column: span 1;
    }

    .contact-left h2 {
        text-align: center;
        margin-bottom: 30px;
    }

    .contact-left p {
        max-width: 100%;
        
    }
    .contact-left p:last-of-type {
        margin-bottom: 30px;
    }
}