body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #1f2937;
}

header {
  background: #ffffff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

header h2 {
  margin: 0;
  color: #2563eb;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #2563eb;
}

.container {
    padding: 10px 40px;
}

/* HERO (topo com logo + texto) */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

/* TEXTO CENTRAL */
.hero-text {
  flex: 1;
  text-align: center;
}

.hero-text h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.subtitle {
  color: #6b7280;
}

/* GRID DOS CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.2s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

/* LAYOUT GI */
.product-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* SLIDER */
.slider {
  flex: 2;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;

  /* IMPORTANTE */
  overflow: hidden;
}

/* AJUSTE DA IMAGEM */
.slider img {
  width: 100%;
  height: 350px;        /* controla altura do slide */
  object-fit: contain;  /* evita cortar imagem */
  border-radius: 10px;
}

/* BOLINHAS DO SLIDER */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #2563eb;
  transform: scale(1.2);
}

.product-description {
    max-width: 1000px;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.8;
    color: #4b5563;
    font-size: 16px;
}

/* RECURSOS DO PRODUTO */

.feature-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    font-weight: 500;
}

/* CABEÇALHO PRODUTO */

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-header h1 {
    margin: 0;
}

/* BOTÃO ADQUIRIR */

.buy-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

.buy-btn:hover {
    background: #1d4ed8;
}

/* DROPDOWN */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #374151;
}

.dropdown-content a:hover {
    background: #f3f4f6;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* LATERAL DE RECURSOS */

.features-side {
    flex: 1;
}

.features-side h3 {
    margin-bottom: 15px;
    text-align: center;
}

.features-side .feature-item {
    margin-bottom: 10px;
}

/* RESPONSIVO */
@media (max-width: 768px) {

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

    .product-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .product-layout {
        flex-direction: column;
    }

    .slider {
        width: 100%;
    }

    .features-side {
        width: 100%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 15px;
    }

}

/* DROPDOWN CONTA */

.account-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.account-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
}

.account-btn:hover {
    color: #2563eb;
}

.account-menu {
    display: none;
    position: absolute;
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 1000;
}

.account-menu a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #374151;
}

.account-menu a:hover {
    background: #f3f4f6;
}

.account-dropdown:hover .account-menu {
    display: block;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {

    background: white;

    width: 400px;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    display: flex;
    flex-direction: column;
    gap: 15px;

    position: relative;
}

.modal-content h2 {
    margin-top: 0;
    text-align: center;
}

.modal-content input {

    width: 100%;

    padding: 12px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
}

.close {

    position: absolute;

    top: 10px;
    right: 15px;

    font-size: 24px;

    cursor: pointer;
}

/* MINHA CONTA */

.account-page {
    max-width: 900px;
    margin: 30px auto;
}

.account-page h1 {
    margin-bottom: 20px;
}

.account-card {

    background: white;

    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.account-row {

    padding: 15px 0;

    border-bottom: 1px solid #e5e7eb;
}

.account-row:last-child {
    border-bottom: none;
}

/* LICENÇAS */

.license-card {

    background: white;

    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    margin-top: 20px;
}

.license-card h3 {
    margin-top: 0;
}

.buy-license-btn {

    display: inline-block;

    margin-top: 15px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    padding: 12px 20px;

    border-radius: 8px;
}

.buy-license-btn:hover {
    background: #1d4ed8;
}

.modal-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}


.modal-message-content {

    background: white;

    width: 400px;

    padding: 30px;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    position: relative;

    font-size: 18px;
}


.modal-message-content button {

    margin-top: 20px;

    padding: 10px 30px;

    border: none;

    border-radius: 6px;

    cursor: pointer;

    background: #1d4ed8;

    color: white;

    font-size: 16px;
}


.modal-close {

    position: absolute;

    right: 15px;

    top: 10px;

    font-size: 25px;

    cursor: pointer;

}