:root {
    --primary-color: #005df2; /* Cor baseada no site youevolution */
    --secondary-color: #0e254e;
    --accent-color: #25d366; /* Cor do WhatsApp */
    --light-bg: #f5f9ff;
    --dark-bg: #12263f;
    --text-color: #333;
    --light-text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(183deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 13px 0;
    text-align: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1px;
}

.logo img {
    max-height: clamp(70px, 12vw, 120px);
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 1px;
}

.contact-bar {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 10px;
    text-align: center;
}

.contact-bar a {
    color: var(--light-text);
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero video,
.hero iframe {
    position: absolute;
    top: -233px;
    left: 0;
    /*min-width: 100%;
    min-height: 100%;*/
    width: 1920px;
    height: 1080px;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 20px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #128C7E;
}

section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.services {
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.problems {
    background-color: white;
}

.problem-list {
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
}

.problem-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefits {
    background-color: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    align-items: flex-start;
}

.benefit-check {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    font-weight: bold;
}

.why-us {
    background-color: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-box {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.info-box h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-list {
    list-style-type: none;
}

.info-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.alert-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
}

.alert-title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #856404;
}

.alert-icon {
    margin-right: 10px;
}

footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-links {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-button {
    display: flex;
    align-items: center; /* Alinha o ícone e o texto verticalmente */
    justify-content: center; /* Alinha o conteúdo do botão */
    padding: 10px 20px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-button i {
    margin-right: 10px; /* Ajuste o valor para garantir que o ícone não fique colado no texto */
    font-size: 24px;
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .service-grid, .benefits-grid, .why-us-grid, .footer-content {
        grid-template-columns: 1fr;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    background-color: #222;
    color: #fff;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    z-index: 1000;
}

.cookie-banner a {
    color: #00e1ff;
    text-decoration: underline;
}

.cookie-banner button {
    background: #00e1ff;
    color: #000;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btnaction {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}
/* Smartphones pequenos (ex: iPhone SE, Androids compactos) */
@media (min-width: 100px) and (max-width: 360px) {
  /* ajustes para telas bem pequenas */
}

/* Smartphones médios (ex: Galaxy A linha intermediária, Moto G, etc.) */
@media (min-width: 361px) and (max-width: 414px) {
  .hero {
      height: 41vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: -113px;
      left: -130px;
      width: 880px;
      height: 495px;

  }
  
}


/* Smartphones grandes (ex: iPhones Max, Galaxy Note, etc.) */
@media (min-width: 415px) and (max-width: 430px) {

  .hero {
      height: 40vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: -113px;
      left: -130px;
      width: 880px;
      height: 495px;

  }

}

/* Smartphones grandes (ex: iPhones Max, Galaxy Note, etc.) */
@media (min-width: 415px) and (max-width: 430px) and (min-aspect-ratio: 13/9){

  .hero {
      height: 60vh;
  }

}

/* Tablets */
@media (min-width: 431px) and (max-width: 768px) {

  .hero {
      height: 45vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: 0px;
      left: -30px;
      width: 1024px;
      height: 576px;

  }

}
/* Tablets maiores e iPads em paisagem */
@media (min-width: 769px) and (max-width: 889px) {

  .hero {
      height: 45vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: 0px;
      left: -30px;
      width: 1024px;
      height: 576px;

  }

}

/* TIphone e S20 Ultra Deitado */
@media (min-width: 890px) and (max-width: 932px) {

  .hero {
      height: 70vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: -241px;
      left: -241px;
      width: 1920px;
      height: 1080px;

  }

}

/* Tablets maiores e iPads em paisagem */
@media (min-width: 933px) and (max-width: 1024px) {

  .hero {
      height: 45vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: 0px;
      left: -30px;
      width: 1024px;
      height: 576px;

  }

}

/* Notebooks comuns */
@media (min-width: 1025px) and (max-width: 1366px) {
  .hero {
      height: 60vh;
  }

  .hero video,
  .hero iframe {
      position: absolute;
      top: -110px;
      left: -45px;
      width: 1920px;
      height: 1080px;

  }

}

/* Monitores grandes */
@media (min-width: 1367px) {
  .hero {
      height: 71vh;
  }

}