
main, body{
    font-family: 'Open Sans', sans-serif;
}


html{
    scroll-behavior: smooth; /* Suaviza o scroll */
}

/* Estilos do Header */
.header {
    background-color: #085a43f4;
    padding: 2rem 0 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column; /* Coloca logo em cima e nav embaixo */
    align-items: center;   /* Centraliza tudo na horizontal */
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.header.show {
    opacity: 1;
    transform: translateX(0);
}
.header.hide{
    top: -100px;
}

.header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.header nav ul li {
    display: inline-block;
    margin: 0 1rem;
    align-items: center;
}

.header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    transition: color 0.3s ease;
}

.logo img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

/* Estilos do home ou conteudo inicial */
.home {
    background-color: #A47764;
    padding: 2rem 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.home.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.home a{
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    transition: color 0.3s ease;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px) scale(1.03);
    color: #fff;
}



/* Estilos da seção servicos*/
.servicos {
    padding: 4rem 1rem;
    text-align: center;
}

#servicos {
    scroll-margin-top: 80px; /* Espaço para o header fixo */
}
.servicos h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  opacity: 0.65;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #854708;
}

.card-content p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.card-content a {
  display: inline-block;
  background-color: #854708;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card-content a:hover {
  background-color: #a26233;
}




/* Estilos da seção de contato */
.contato {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#contato{
    scroll-margin-top: 80px; /* Espaço para o header fixo */
}

.contato h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.65;
}

.contato .linha {
    width: 60px;
    height: 3px;
    background-color: #a47764;
    margin: 0 auto 1.5rem;
}

.contato p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contato-conteudo {
    display: flex;
    flex-direction: row;
    justify-items: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.mapa-container {
    width: 100%;
    max-width: 600px;
}

.map-frame {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    
}

.info-contato {
    text-align: left;
    max-width: 600px;
}

.info-contato h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.info-contato p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.info-contato .icon {
    width: 20px;
    margin-right: 0.5rem;
}

.info-contato a {
    color: #0e803c;
    text-decoration: none;
    transition: color 0.2s;
}

.info-contato a:hover {
    color: #074721;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* Estilos do Footer */
.footer {
    color: #fff;
    background-color: #085a43f4;
    font-size: 1rem;
    letter-spacing: 0.01em;
    margin-top: 3rem;
    padding: 3rem 0 1.5rem 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.show {
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 250px;
    min-width: 220px;
    margin-bottom: 2rem;
    
}

.footer-contact{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;;
    text-decoration: none;
}

.footer-contact a {
    text-decoration: none;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    transition: opacity 0.2s, text-decoration 0.2s;

}

.footer-contact a:hover, .footer-contact a:focus {
    opacity: 1;
    text-decoration: none;
}

.footer-logo {
    letter-spacing: 2px;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-divider {
    height: 2px;
    width: 40px;
    background: #fff;
    opacity: 0.2;
    margin: 0 0 1rem 0;
}

.footer-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.1rem;
}

.footer-info {
    margin-bottom: 0.5rem;
}


.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    transition: opacity 0.2s, text-decoration 0.2s;
}

.footer-links a:hover, .footer-links a:focus {
    opacity: 1;
    text-decoration: none;
}

.footer-divider-line {
    border-top: 1px solid #444;
    opacity: 0.25;
    margin: 1.5rem 0;
}

.footer-copy {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.75;
}

.footer-logo {
    display: flex;
    gap: 1rem;
    width: 250px;
}

/* Responsividade do site */

/* Extra Small Devices (320px) */
@media (min-width: 320px) and (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }

    .header nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .logo img {
        width: 180px;
    }

    .home {
        padding: 1.3rem 0;
        text-align: center;
    }

    .home h2{
        font-size: 1.2rem;
    }

    .servicos h2, .contato h2 {
        font-size: 1.8rem;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
  
    .footer-col {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-col img {
        width: 200px;
    }
}

/* Small Devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {

    .home {
        padding: 1.3rem 0;
        text-align: center;
    }

    .home h2{
        font-size: 1.2rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    .footer-col {
        text-align: center;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .logo img {
        width: 120px;
    }
}

/* Medium Devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-col {
        text-align: center;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .logo img {
        width: 150px;
    }
}

/* Large Devices (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .footer-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        text-align: left;
    }
    .footer-col {
        text-align: left;
        margin-bottom: 0;
        max-width: 350px;
    }
    .logo img {
        width: 180px;
    }
}

/* Extra Large Devices (≥1200px) */
@media (min-width: 1200px) {
    .footer-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2.5rem;
        text-align: left;
    }
    .footer-col {
        text-align: left;
        margin-bottom: 0;
        flex: 1 1 0;
        min-width: 220px;
        max-width: 400px;
    }
    .logo img {
        width: 220px;
    }
}

