/*==========================*
*IGLU-CAR - estilo.css*
*PARTE 1/2*
*==========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1d;
    background: #f7f7f7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding: 0 20px;
}

/*==========================*
* HERO
*==========================*/

#hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    color: #1d1d1d;
    padding: 25px 15px 35px;
    text-align: center;
}

.logo {
    width: 220px;
    max-width: 80%;
    margin: 0 auto 20px;
    display: block;
}

.hero-badge {
    margin-bottom: 18px;
}

.badge {
    display: inline-block;
    background: #FFD54D;
    color: #1d1d1d;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: .95rem;
    font-weight: 700;
}

#hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 2.6rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #1d1d1d;
}

#hero strong {
    color: #D4A017;
}

.hero-text {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
}

.hero-video {
    width: 100%;
    max-width: 460px;
    margin: 25px auto 0;
    padding: 8px;
    background: #FFD54D;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.hero-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
    border: 0;
    border-radius: 18px;
}

/*==========================*
* SEÇÕES
*==========================*/

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #ffffff;
}

section:nth-child(odd) {
    background: #f7f7f7;
}

section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 18px;
    color: #D4A017;
}

section>div>p {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/*==========================*
* CARDS
*==========================*/

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card,
.cards article {
    background: #ffffff;
    border-radius: 22px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    transition: .25s;
}

.card:hover,
.cards article:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.card h3,
.cards article h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #D4A017;
}

.card p,
.cards article p {
    font-size: .98rem;
    color: #555;
}

/*==========================*
* PROTEÇÃO
*==========================*/

#protecao article {
    text-align: center;
}

#protecao h3 {
    font-size: 1.25rem;
}

/*==========================*
* CLIENTES
*==========================*/

.youtube-info {
    margin-top: 45px;
    text-align: center;
    font-size: 1.1rem;
}

/*==========================*
* ECONOMIA
*==========================*/

.economia-destaque {
    background: #FFD54D;
    color: #1d1d1d;
    padding: 35px;
    border-radius: 18px;
    margin-top: 35px;
    text-align: center;
}

.economia-destaque h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1d1d1d;
}

.economia-destaque p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.economia {
    margin-top: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/*==========================*
* BENEFÍCIOS
*==========================*/

#beneficios article {
    text-align: center;
}

#beneficios h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #D4A017;
}

#beneficios p {
    color: #555;
}

/*==========================*
* BUSCA
*==========================*/

#busca {
    background: #FFD54D;
    color: #1d1d1d;
}

#busca h2 {
    color: #1d1d1d;
}

#busca p {
    color: #444;
    max-width: 850px;
    margin: 0 auto 30px;
}

#vehicle-search {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto 20px;
    padding: 18px 22px;
    font-size: 1.05rem;
    background: #fff;
    color: #1d1d1d;
    border: 2px solid #E4C23A;
    border-radius: 12px;
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .10);
}

#vehicle-search:focus {
    border-color: #D4A017;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, .20);
}

#search-btn {
    display: block;
    margin: auto;
    background: #D4A017;
    color: #fff;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: .25s;
}

#search-btn:hover {
    background: #BF8F00;
    transform: translateY(-2px);
}

#search-btn:active {
    transform: scale(.98);
}

#search-btn:disabled,
#search-btn.is-loading {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.search-status {
    max-width: 700px;
    margin: 22px auto 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d1d1d;
}

.search-status.is-error,
.search-status.is-empty {
    color: #8a1f1f;
}

.search-status.is-loading {
    color: #555;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 980px;
    margin: 28px auto 0;
    text-align: left;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.product-card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.product-image {
    background: #f3f3f3;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin: 15px 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 18px 18px 22px;
}

.product-vehicle {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #FFF4C2;
    color: #7a5a00;
    font-size: .85rem;
    font-weight: 700;
}

.product-info h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1d1d1d;
}

.product-size {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .9rem;
    font-weight: 700;
    color: #555;
}

.product-price {
    margin-bottom: 16px;
}

.price-old {
    display: block;
    font-size: .95rem;
    color: #888;
    text-decoration: line-through;
}

.price-special,
.price-normal {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d1d1d;
}

.product-cta {
    display: inline-block;
    background: #D4A017;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
}

.product-card:hover .product-cta {
    background: #BF8F00;
}

/*==========================*
* FAQ
*==========================*/

#faq .card {
    height: 100%;
}

#faq h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #D4A017;
}

/*==========================*
* RODAPÉ
*==========================*/

#rodape {
    background: #F2F2F2;
    color: #1d1d1d;
    text-align: center;
    padding: 60px 20px;
    border-top: 4px solid #FFD54D;
}

#rodape h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #D4A017;
}

#rodape p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

/*==========================*
* ANIMAÇÕES
*==========================*/

.card,
.cards article,
#search-btn {
    transition: all .30s ease;
}

.card:hover img {
    transform: scale(1.03);
    transition: .30s;
}

.card img {
    transition: .30s;
}

/*==========================*
* UTILIDADES
*==========================*/

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.hidden {
    display: none;
}

.shadow {
    box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
}

.radius {
    border-radius: 18px;
}

/*==========================*
* IFRAMES
*==========================*/

iframe {
    border: none;
    border-radius: 18px;
}

/*==========================*
* SELEÇÃO
*==========================*/

::selection {
    background: #FFD54D;
    color: #1d1d1d;
}

/*==========================*
* SCROLLBAR
*==========================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F2F2F2;
}

::-webkit-scrollbar-thumb {
    background: #D4A017;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #BF8F00;
}