/* Variáveis e Reset */
:root {
  --primary-blue: #254ee6;
  --founder-blue: #1b26f5;
  --dark-bg: #030303;
  --footer-bg: #020617;
  --purple-light: #9a6bb3;
  --purple-btn: #9c68a6;
  --text-gray: #a3a3a3;
  --text-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Tipografia Mista */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: normal;
  line-height: 1;
}

p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Container de 1080px */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Header --- */
header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

  & .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }

  & .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    img {
        width: 150px;
        height: 100%;
    }
  }

  & nav {
    display: flex;
    gap: 30px;

    & a {
      text-decoration: none;
      color: #555;
      font-size: 1rem;
      transition: color 0.3s;

      &:hover { color: var(--primary-blue); }
    }
  }

  & .btn-cotacao {
    background-color: var(--purple-btn);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: opacity 0.3s;

    &:hover { opacity: 0.9; }
  }
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('images/team.jpg') center/cover;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;

  & .hero-text {
    max-width: 600px;
    color: #ffffff;

    & h1 {
      font-size: 3.1rem;
      margin-bottom: 20px;
        @media (max-width: 768px) {
            font-size: 2rem;
        }
    }

    & p {
      font-size: 1rem;
      opacity: 0.9;
    }
  }
}

/* --- Welcome Section --- */
.welcome {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 150px 0;
    @media (max-width: 768px) {
      padding: 70px 0;
    }

  & .welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  & h2 {
    color: var(--purple-light);
    font-size: 3.1rem;
    margin-bottom: 30px;
    @media (max-width: 768px) {
    font-size: 2rem;
    }
  }

  & .desc {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
  }

  & .tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;

    & span {
      font-size: 1.1rem;
      cursor: pointer;
      color: var(--text-gray);
      transition: all 0.3s ease;

      &.active {
        color: #ffffff;
        border-bottom: 2px solid var(--purple-light);
        padding-bottom: 5px;
      }

      &:hover { color: #ffffff; }
    }
  }

  & .tab-content {
    display: none;
    color: var(--purple-light);
    font-size: 1.2rem;
    font-weight: 300;
    animation: fadeIn 0.4s ease-in-out;

    ul {
            display: flex;
            flex-direction: column;
            gap: 10px;
        li {
            font-size: 15px;
            margin-left: 15px;

        }
        strong {
            font-weight: bold;
        }
    }

    &.active {
      display: block;
    }
  }

  & .welcome-map {
    display: flex;
    justify-content: flex-end;
    
    & img {
      max-width: 100%;
      height: auto;
    }
  }
}

/* --- Services Section --- */
.services {
  padding: 100px 0;
  background-color: #ffffff;
    @media (max-width: 768px) {
      padding: 70px 0;
    }

  & .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  & .tag {
    color: var(--purple-light);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 15px;
  }

  & h2 {
    color: black;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    @media (max-width: 768px) {
            font-size: 1.5rem;
    }
  }

  & .accordion {
    list-style: none;

    & li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
      border-bottom: 1px solid #c1c1c1;
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.3s;

      /* Efeito Hover */
      &:hover i { transform: translateX(5px); }

      /* Estado Ativo (Master-Detail) */
      &.active {
        color: var(--primary-blue);
        font-weight: 500;
        border-bottom-color: var(--primary-blue);

        & i {
          transform: rotate(90deg);
          color: var(--primary-blue);
        }
      }

      & i {
        width: 18px;
        height: 18px;
        color: #888;
        transition: transform 0.3s ease;
      }
    }
  }

  & .services-image {
    transition: opacity 0.3s ease-in-out;

    &.fade-anim {
      animation: fadeChange 0.4s ease;
    }

    & img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      margin-bottom: 20px;
      border-radius: 4px;
    }

    & .image-caption {
      & strong {
        display: block;
        margin-bottom: 10px;
        font-size: 1.3rem;
        color: var(--primary-blue);
      }
      & p {
        font-size: 1rem;
        line-height: 1.4;
        color: #666;
      }
    }
  }
}

/* --- Founder Section --- */
.founder {
  background-color: var(--founder-blue);
  color: #ffffff;
  padding: 100px 0;
      @media (max-width: 768px) {
      padding: 70px 0;
    }

  & .founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  & h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  & h3 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
  }

  & p {
    line-height: 1.8;
  }

  & .founder-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
  }
}

/* --- Footer --- */
footer {
  background-color: var(--footer-bg);
  color: #ffffff;
  padding: 80px 0 20px;
      @media (max-width: 768px) {
      padding: 70px 0;
    }

  & .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
  }

  & h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  & p {
    color: var(--text-gray);
    margin-bottom: 8px;
  }

  .footer-col {
    a {
        color: var(--text-gray);
    }
  }

  & .footer-bottom {
    color: var(--text-gray);
  }
}

/* Animações Globais */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeChange {
  0% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Responsividade */
@media (max-width: 768px) {
  .welcome .welcome-grid,
  .services .services-grid,
  .founder .founder-grid,
  footer .footer-grid {
    grid-template-columns: 1fr;
  }
  
  header nav {
    display: none;
  }
  
}