:root {
    --white: #ffffff;
    --black: #000000;
    --black-02: #1a1a1a;
    --black-03: #404040;
    --black-04: #595959;
    --red-005: #790000;
    --red-01: #c90000;
    --red-02: #fe0000;
    --gray-00: #fcfcfc;
    --gray-005: #f5f5f5;
    --gray-01: #f5f5f5;
    --gray-02: #eeeeee;
    --gray-022: #e5e5e5;
    --gray-025: #dedede;
    --gray-027: #c7c7c7;
    --gray-03: #999999;
    --primary-color: #004d99;
    --secondary-color: var(--gray-03);
    --highlight-color: var(--red-01);
    --content-bg: rgba(255, 255, 255, 0.95);
    --form-border: #ddd;

    --max-width: 120rem;
    --spc-100porc: 100%;
    --spc-160px: 16rem;
    --spc-140px: 14rem;
    --spc-120px: 12rem;
    --spc-100px: 10rem;
    --spc-90px: 9rem;
    --spc-80px: 8rem;
    --spc-70px: 7rem;
    --spc-60px: 6rem;
    --spc-40px: 4rem;
    --spc-30px: 3rem;
    --spc-20px: 2rem;
    --spc-15px: 1.5rem;
    --radius-16: 16px;
    --radius-8: 8px;
}

a {
    color: var(--red-01);
    text-decoration: none;
}

a:focus,
a:active {
    color: var(--red-01);
}

a:hover {
    text-decoration: underline;
    color: var(--red-01);
}

html {
    font-size: 52.5%;
    background-color: var(--black);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif, Arial;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black-02);
    position: relative;
}

textarea {
    font-family: 'Inter', sans-serif, Arial;
}

.background-parallax {
    background-image: url('../images/bg.png');
    background-color: var(--gray-01);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--gray-01);
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.top-section {
    background-color: var(--white);
    height: var(--spc-20px);
}

header,
footer {
    position: fixed;
    width: var(--spc-100porc);
    height: var(--spc-15px);
}
header {
    top: 0;
    background-color: var(--black);
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
footer {
    bottom: 0;
    background-color: var(--red-01);
}

.hero-section {
    background: #ffe8e8;
    background: linear-gradient(166deg, rgba(255, 232, 232, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(222, 222, 222, 1) 100%);
}

.tricolors {
    width: 100%;
    height: 2rem;
    margin: 2rem 0;
    padding: 0 8rem;
}
.imgcolors {
    background-image: url(../images/tricolors.png);
    background-size: 10rem;
    background-repeat: repeat-x;
    width: 100%;
    height: 2rem;
}

.divider {
    background: var(--gray-025);
    margin: var(--spc-30px) var(--spc-80px) var(--spc-20px);
    height: 1px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--spc-80px);
    align-items: start;
    padding: 0 var(--spc-80px) var(--spc-90px);
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--black-03);
    color: var(--gray-02);
    padding: 0.8rem 1.3rem 0.8rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--spc-15px);
}
.badge .tricolormania {
    padding-left: 0.35rem;
}
.badge .icon-info {
    width: 1.8rem;
    margin-right: 0.6rem;
    padding-bottom: 0.1rem;
}

.h1-special {
    display: flex;
    align-items: stretch;
    padding-top: 3rem;
}
.allcolors {
    padding: 4rem 8rem;
}
.allcolors-1 {
    padding: 0;
}
.coluninha {
    flex-shrink: 0;
    width: 100%;
    height: 0.5rem;
    border-radius: 0.2rem;
}
.color1 {
    background-color: var(--red-01);
}
.color2 {
    background-color: var(--white);
}
.color3 {
    background-color: var(--black-02);
}

h1 {
    flex-grow: 1;
    flex-shrink: 1;
    white-space: normal;
    padding: 0 8rem;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1 .big {
    font-size: 8rem;
    color: var(--red-005);
}
h1 span {
    background: #fe0000;
    background: linear-gradient(to bottom right, #fe0000 0%, #c90000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spc-20px);
    color: var(--gray-03);
}

.highlight {
    color: var(--red-01);
}
.column-text p:last-child {
    padding-bottom: 0rem;
    font-size: 2rem;
    line-height: 1.3;
}
.left-column p {
    font-size: 1.6rem;
    color: var(--black-02);
    margin-bottom: var(--spc-30px);
    line-height: 1.6;
}

/* Formulário */
.form-container {
    background: var(--white);
    border-radius: 2rem;
    padding: var(--spc-30px);
    box-shadow: 0 2rem 2.5rem -0.5rem rgba(0, 0, 0, 0.1);
    border: 0.1rem solid var(--gray-022);
    position: sticky;
    top: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spc-30px);
}

.form-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black-03);
}

.form-header p {
    color: var(--gray-03);
}

.form-group {
    margin-bottom: var(--spc-20px);
}

.form-group label {
    display: flex;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}
.icon-user-round,
.icon-mail,
.icon-message-circle {
    width: 1.8rem;
    font-weight: 900;
    padding-bottom: 0.15rem;
    color: var(--black-02);
}
.form-group label p {
    color: var(--black-03);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.6rem;
    border: 0rem solid var(--form-border);
    border-radius: var(--radius-16);
    background-color: var(--gray-01);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}
input::placeholder,
textarea::placeholder {
    color: var(--gray-027);
}
textarea {
    resize: none !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-01);
}

.form-group textarea {
    resize: vertical;
    min-height: 12rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin: var(--spc-20px) 0;
}

.checkbox-group input[type='checkbox'] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 1.4rem;
    color: var(--gray-03);
    line-height: 1.4;
}

.form-buttons {
    display: flex;
    gap: 1.6rem;
    margin-top: var(--spc-20px);
}

.btn-clear,
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    gap: 1rem;
    border: none;
    border-radius: var(--radius-16);
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.icon-eraser {
    width: 1.8rem;
    padding-bottom: 0.1rem;
}
.icon-send {
    width: 1.6rem;
    padding-bottom: 0.1rem;
}

.btn-clear {
    background: var(--gray-01);
    color: var(--gray-03);
}

.btn-submit {
    flex: 1;
    background: var(--black-02);
    color: var(--white);
}

.btn-clear:hover {
    background: var(--gray-02);
}

.btn-submit:hover {
    background: var(--red-01);
}

/* Seção Comentários */
.comments-section {
    background-color: var(--white);
    padding: var(--spc-120px);
}

.section-title {
    color: var(--black-02);
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--gray-03);
    text-align: center;
    margin-bottom: var(--spc-60px);
}

.section-subtitle-counter {
    font-size: 1.6rem;
    color: var(--gray-03);
    text-align: center;
    margin-bottom: 0;
    padding: 0 8rem;
    /* background-color: #1f1f1f;
    display: inline-table;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.8rem 2rem; */
}

/* Seção Contador */
.counter-section {
    background: #4a4a4a;
    background: linear-gradient(to bottom right, #4a4a4a 0%, #1a1a1a 100%);
    color: var(--white);
    padding: var(--spc-100px) var(--spc-40px) var(--spc-80px);
    text-align: center;
}

.counter-section .section-title,
.counter-section .section-subtitle {
    color: var(--white);
}

.counter-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: var(--spc-40px) 0 var(--spc-40px);
}

.counter-item {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2.4rem 2.6rem 2rem;
    border-radius: 16px;
}

.counter-number {
    display: flex;
    font-size: var(--spc-140px);
    font-weight: 700;
    margin-bottom: 0.5rem;
    height: var(--spc-120px);
    line-height: 1.2;
    align-items: center;
    align-content: center;
}

.counter-label {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.counter-separator {
    display: flex;
    align-content: center;
    line-height: 0.5;
    font-size: var(--spc-100px);
    font-weight: 700;
    opacity: 0.8;
    color: #4a4a4a;
    padding-bottom: 5rem;
}

.counter-cta {
    /* width: 100%; */
    /* max-width: 66rem; */
    margin: 0 auto 2rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-005);
    border: none;
    border-radius: 1.2rem;
    font-size: 2.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    cursor: default;
}

.counter-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* .icon-clock {
    width: var(--spc-60px);
} */

/* Rodapé */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    align-items: center;
    background: #232323;
    background: linear-gradient(20deg, rgba(35, 35, 35, 1) 0%, rgba(0, 0, 0, 1) 100%);
    padding: var(--spc-30px) 8rem 1rem;
}

.security-message,
.copyright {
    display: flex;
    gap: 0.7rem;
}
.icon-shield {
    width: 2rem;
    padding-bottom: 0.2rem;
}
.icon-copyright {
    width: 1.8rem;
    padding-bottom: 0.2rem;
}
.security-message {
    font-size: 1.4rem;
    color: var(--gray-03);
}
.copyright {
    font-size: 1.4rem;
    color: var(--gray-03);
}

.material-symbols-outlined {
    font-size: 1.8rem;
}

/* Responsivo */
@media (max-width: 1200px) {
    .footer {
        align-items: center;
    }
}

@media (max-width: 1030px) {
    .footer {
        align-items: center;
    }
}

@media (max-width: 960px) {
    .counter-number {
        font-size: var(--spc-100px);
        height: var(--spc-100px);
    }

    .counter-label {
        font-size: 1.4rem;
    }
}

@media (max-width: 880px) {
    .section-subtitle-counter {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: var(--spc-30px);
    }

    .comments-grid {
        grid-template-columns: 1fr;
    }

    .counter {
        gap: var(--spc-15px);
    }

    .counter-number {
        font-size: var(--spc-80px);
    }

    .counter-label {
        font-size: 1.2rem;
    }

    .counter-separator {
        font-size: var(--spc-60px);
    }

    .footer {
        padding: 3rem 6rem;
    }
    .counter-cta {
        font-size: 1.6rem;
        gap: 1rem;
    }
    .icon-clock {
        width: 1.8rem;
    }

    .form-container {
        position: static;
    }
    .security-message {
        padding-bottom: 1rem;
    }
    .security-message,
    .copyright {
        display: flex;
        font-size: 1.4rem;
        line-height: 1.6;
        gap: 1rem;
    }
}
@media (max-width: 660px) {
    .counter {
        gap: 1.6rem;
    }

    .counter-number {
        font-size: var(--spc-60px);
    }

    .counter-label {
        font-size: 1rem;
    }
    .section-subtitle-counter {
        font-size: 1.5rem;
    }

    .counter-separator {
        font-size: var(--spc-40px);
    }
}

@media (max-width: 620px) {
    h1 .big {
        font-size: 7rem;
    }
    h1 {
        font-size: 4rem;
    }
}

@media (max-width: 620px) {
    .counter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spc-20px);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .counter-separator {
        display: none;
    }

    .counter-item {
        padding: 1.2rem 1.6rem;
    }

    .counter-number {
        font-size: 8rem;
        height: auto;
        margin-bottom: 0.2rem;
        justify-content: center;
    }

    .counter-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    h1 {
        padding: 0 2rem;
    }
    .allcolors {
        padding: 4rem 2rem 0;
    }
    .two-columns {
        padding: 2rem;
    }
    .left-column {
        padding-top: 3rem;
    }
    .counter-cta svg {
        width: 4rem;
    }
    .counter {
        grid-template-columns: 1fr 1fr;
        gap: var(--spc-20px);
        max-width: 250px;
    }

    .counter-item {
        padding: 1rem 2rem;
    }

    .counter-number {
        font-size: 8rem;
    }

    .counter-label {
        font-size: 1.1rem;
    }
}
