/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #22222204;
    color: #00000069;
    text-align: center;
    padding: 0;
    margin-top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #351815;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #351815;
    transform: translateY(-2px);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #351815;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #351815;
    margin: 15px auto;
}

/* Cabeçalho */
header {
    background-color: #351815;
    box-shadow: 0 2px 10px rgb(0, 0, 0);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #D9C5B6;
}

.logo h1 span {
    color: #CF6F69;
}

.logo p {
    font-size: 0.8rem;
    color: #ffffff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #D9C5B6;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #351815;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(3, 3, 3, 0), rgba(255, 255, 255, 0)), url('agilityexfundo2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fffffffb;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: flex;
}

.banner h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Serviços */
.services {
    padding: 80px 0;
    background: #d9c5b694;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service {
    background: #ffffff00;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service i {
    font-size: 3rem;
    color: #351815;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/*Segmentos*/
.seg {
  padding: 60px 20px;
  background-color: #d9c5b694;
  text-align: center;
}

.seg .title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.seg .subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-items: center;
}

.segment-item {
  background-color: #ffffff00;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  height: 350px; /* Altura fixa igual para todas as boxes */
  box-shadow: 0 2px 6px rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}

.segment-item:hover {
  transform: translateY(-5px);
}

.segment-item img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 200px; /* Mantém a proporção da imagem */
}

.segment-item h3 {
  margin-top: 10px;
  font-size: 16px;
  color: #351815;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



/* Sobre Nós */
.about {
    padding: 80px 0;
    background: #d9c5b694;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-list {
    margin-top: 20px;
    list-style: none;
}

.about-list li {
    margin-bottom: 10px;
}

.about-list i {
    color: #351815;
    margin-right: 10px;
}

/* Contato */
.contact {
    padding: 80px 0;
    background: #d9c5b694;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 3px;
    color: #351815;
    font-size: 1.2rem;
    width: 20px;
}

.social-media {
    margin-top: 30px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #a57f62a9;
    color: #fafafa;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-media a:hover {
    background: #003d82;
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Rodapé */
footer {
    background: #d9c5b694;
    color: #351815;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #351815;
}

.footer-section p {
    margin-bottom: 15px;
    color: #00000069;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #00000069;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #351815;
}

.footer-bottom {
    background: #22222200;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 992px) {
    .about .container, .contact-container {
        flex-direction: column;
    }
    
    .about-image, .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .banner h2 {
        font-size: 2.2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
}