@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

:root{
    --main-color:#d3ad7f;
    --black:#13131a;
    --bg:#7a6d6d;
    --border:.1rem solid rgba(255,255,255,.3);

    --cor-azul1:rgb(28, 54, 97);
    --cor-azul2:rgb(70, 140, 188);
    --cor-azul3:rgb(130, 206, 234);
    --cor-azul4:rgb(13, 45, 67);
    --cor-branco:rgb(255, 255, 255);
    --cor-preto:rgb(0, 0, 0);
    --cor-dourado:rgb(204, 204, 204);
}

*{
    font-family: 'Play','Roboto', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: .8rem;
}
html::-webkit-scrollbar-track {
    background: transparent;
}
html::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5rem;
}

body{
    background: var(--cor-branco);
}


section{
    padding:5rem 7%;
}

.heading{
    text-align: center;
    color:var(--cor-azul1);
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span{
    color:var(--cor-azul2);
    text-transform: uppercase;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1.1rem 5rem;
    font-size: 2.1rem;
    font-weight: 700;
    border-radius: 5px;
    color:var(--cor-branco);
    background: var(--cor-azul1);
    cursor: pointer;
}

.btn:hover{
    background-color: var(--cor-azul2);
}


/* =========================
   LAYOUT RESPONSIVO
========================= */
@media (max-width: 1024px) {
    html { font-size: 58%; }
    section { padding: 2rem 5%; }
}
@media (max-width: 768px) {
    html { font-size: 55%; }
    section { padding: 1.5rem 4%; }
}
@media (max-width: 480px) {
    html { font-size: 50%; }
    section { padding: 1rem 3%; }
}



/* =========================
   HEADER COMPLETO E RESPONSIVO
========================= */
.header {
    background: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: var(--border);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}

.header .logo img {
    max-height: 9rem;
    width: auto;
}

.header .navbar.active {
    right: 0;
}


.header .navbar {
    transition: right 0.3s ease;
}


/* Navbar com UL/LI */
.header .navbar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.header .navbar ul li a {
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--cor-azul1);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}
.header .navbar ul li a:hover {
    color: var(--cor-azul2);
    border-bottom: .1rem solid var(--cor-azul2);
    padding-bottom: .3rem;
}

/* Ícones */
.header .icons button {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--cor-azul1);
    cursor: pointer;
    margin-left: 2rem;
    transition: color 0.3s ease;
}
.header .icons button:hover {
    color: var(--cor-azul2);
}

#menu-btn {
    display: none;
}

/* Search Form */
.header .search-form {
    position: absolute;
    top: 115%; right: 7%;
    background: var(--cor-azul2);
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    border-radius: .5rem;
    overflow: hidden;
}
.header .search-form.active {
    transform: scaleY(1);
}
.header .search-form input {
    width: 100%;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem;
    border: none;
}
.header .search-form label {
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}
.header .search-form label:hover {
    color: var(--main-color);
}

/* Carrinho */
.header .cart-items-container {
    position: absolute;
    top: 100%; right: -100%;
    height: calc(100vh - 9.5rem);
    width: 35rem;
    background: var(--cor-branco);
    padding: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.header .cart-items-container.active {
    right: 0;
}
.header .cart-items-container .cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
}
.header .cart-items-container .cart-item img {
    height: 7rem;
}
.header .cart-items-container .cart-item .fa-times {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    transition: color 0.3s ease;
}
.header .cart-items-container .cart-item .fa-times:hover {
    color: var(--main-color);
}
.header .cart-items-container .cart-item .content h3 {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: .5rem;
}
.header .cart-items-container .cart-item .content .price {
    font-size: 1.5rem;
    color: var(--main-color);
}
.header .cart-items-container .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: var(--cor-azul2);
    color: var(--cor-branco);
    font-size: 1.6rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.header .cart-items-container .btn:hover {
    background: var(--cor-azul1);
}

/* Responsividade */
@media (max-width: 768px) {
    .header .navbar ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }
    #menu-btn {
        display: inline-block;
    }
    .header .navbar.active {
        display: block;
    }
    #menu-btn {
        display: inline-block;
    }
    .header .search-form {
        width: 90%;
        right: 5%;
    }
    .header .cart-items-container {
        width: 100%;
    }
}

/* -- Final Header Section  -- */



/*===  Inicio Container Section  === */

.container {
    /* padding-top: 200px; */
    height: 80vh;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


#image-container {
    /* padding-top: 50px; */
    background-color: #fdfdfd;
    width: 90vw;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#tabela-img {
    padding-top: 180PX;
    max-width: 90rem;
    max-height: 90rem;
    height: auto;
    width: auto;
    display: block;
    touch-action: none;
}

/* -- Final Container Section  -- */


/*===  Inicio Footer Section === */

.footer{
    background:var(--cor-branco);
    text-align: center;
}

.footer .share{
    padding:1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:var(--cor-azul3);
    border:.1rem solid var(--cor-azul3);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--cor-azul3);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .links a{
    padding:.7rem 2rem;
    color:var(--cor-azul2);
    border:.1rem solid var(--cor-dourado);
    font-size: 2rem;
}

.footer .links a:hover{
    background:var(--main-color);
}

.footer .credit{
    font-size: 1.7rem;
    color:var(--cor-azul2);
    font-weight: lighter;
    padding:1.5rem;
}

.footer .credit span{
    color:var(--cor-azul2);
}

/* -- Final Footer Section  -- */


/*===  Inicio Botão Flutuante do WhatsApp Section === */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 1px 1px 2px #888;
    border: 3px solid #fff;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float i {
    margin-top: 12px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* -- Final Botão Flutuante do WhatsApp Section Section  -- */


/*===  Inicio do modal para escolher o modelo do motor === */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  position: relative; /* Adicionado */
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideDown 0.4s ease;
}

.modal-content h2 {
    font-size: 25px;
    margin-bottom: 15px;
    color: var(--cor-azul1);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--cor-azul1);
  cursor: pointer;
}

#modal-links a {
  display: block;
  margin: 10px 0;
  padding: 10px;
  background-color: var(--cor-azul1);
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#modal-links a:hover {
  background-color: var(--cor-azul2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsividade */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    padding: 20px;
  }
}
