@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

/* Reset e Estilos Gerais */    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}


h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h3{
    color: #bc9c22;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #00305c;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #bc9c22;
}

.btn-outline {
    border: 2px solid #00305c;
    color: #00305c;
    background: transparent;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #00305c;
    color: var(--light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary);

}

.contact-info{
    color: white;
}

.social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #bc9c22;
    border-radius: 50%;
    margin-left: 10px;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-links i{
    color: white;
}

.social-links a:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* Header */
header {
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    display: flex;
    width: 100%;
    z-index: 1000;
    padding: 0px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    max-width: 250px;
}

.logo{
    margin-top: -20px;
    margin-bottom: -20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #00305c;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
    font-family: 'Playfair Display', serif;
}

nav ul li a:hover {
    color: #bc9c22;
}

.menu-mobile {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#home{
    padding: 0px;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.266)), url('Imagens/hero-globo-terrestre.jpg');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #bc9c22;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.logoHero{
    max-width: 100px;
}

.h1Hero, .h1Hero span{
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.h1Hero span{
    margin-top: -10px;
}

/* Estatísticas */
.stats-section {
    background: linear-gradient(#00305c, rgba(0, 0, 0, 0.9)), url('assets/images/stats-bg.jpg') no-repeat center center/cover;
    color: #bc9c22;
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    padding: 3rem;
}

.stat-number {
    font-size: 40px;
    font-weight: 1000;
    margin-bottom: 1rem;
    margin-top: -20px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

.stat-text {
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .stat-number{
        font-size: 25px;
    }

    .stat-item {
        padding: 3px;
    } 
    
    .stat-text{
        font-size: 8px;
    }

    .stats-grid{
        height: 130px;
    }
}


/* Sobre */
.about {
    margin-top: 60px;
}

.section-header{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 1.7rem;
    color: #00305c;
    margin-bottom: 7px;
}

.section-subtitle {
    color: #bc9c22;
    margin-bottom: 20px;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}


.about-2 .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img-2 {
    flex: 1;
}

.about-img-2 img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img-2-2 img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img-2-2{
    flex: 1;
}

.about-text {
    flex: 1;
}


.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ===== ESTILOS GERAIS ===== */

.carrossel-cards {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== ESTRUTURA DO CARROSSEL ===== */
.carrossel-wrapper {
  position: relative;
  width: 100%;
  padding: 0 50px; /* Espaço para os botões */
}

.carrossel-container {
  overflow: hidden;
  width: 100%;
}

.carrossel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
  padding: 5px 0; /* Compensa o hover */
}

/* ===== CARDS ===== */
.carrossel-track .area-card {
  flex: 0 0 calc(33.333% - 30px); /* 3 cards por linha */
  margin: 0 15px;
  background: #ffffff;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px  #1a1a1a31;
  box-shadow: 0 2px 10px  #71717165;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#area:hover {
    transform: none;
}

.carrossel-track .area-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Ícones */
.carrossel-track .area-card i {
  font-size: 3rem;
  color: #00305c;
  margin-bottom: 20px;
  display: block;
}

/* Textos */
.carrossel-track .area-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #bc9c22;
}

.carrossel-track .area-card p {
  color: white;
  line-height: 1.6;
}

/* ===== BOTÕES DE NAVEGAÇÃO ===== */
.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 48, 92, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.carrossel-btn:hover {
  background: #bc9c22;
  transform: translateY(-50%) scale(1.1);
}

.carrossel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.carrossel-btn.anterior {
  left: 0;
}

.carrossel-btn.proximo {
  right: 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1199px) {
  .carrossel-track .area-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
  }
}

@media (max-width: 991px) {
  .carrossel-track .area-card {
    flex: 0 0 calc(50% - 20px); /* 2 cards por linha */
  }
  
  .carrossel-wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 767px) {
  .carrossel-track .area-card {
    flex: 0 0 calc(100% - 20px); /* 1 card por linha */
  }
  
  .carrossel-cards {
    padding: 60px 0;
  }
  
  .carrossel-track .area-card {
    padding: 25px;
  }
}

@media (max-width: 575px) {
  .carrossel-wrapper {
    padding: 0 30px;
  }
  
  .carrossel-btn {
    width: 35px;
    height: 35px;
  }
}

/* ===== GARANTIA DE TAMANHO CONSISTENTE ===== */
.carrossel-track .area-card {
  min-width: 0; /* Resolve problemas de flexbox */
  word-wrap: break-word;
}

/* Áreas de Atuação */
.areas-section {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

#area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#areas {
    padding-top: 0px;
}


.section-divider {
    width: 60px;
    height: 3px;
    background: #bc9c22;
    margin: 0 auto 50px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 3rem;
    padding-top: 15px;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #00305c;
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-card:hover::before {
    height: 10px;
    background-color: #bc9c22;
}

.area-icon {
    width: 60px;
    height: 60px;
    background-color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    margin-bottom: 0px;
    font-size: 2rem;
    color: #00305c;
    transition: all 0.3s ease;
}

.area-card:hover .area-icon {
    background-color: #00305c;
    color: white;
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: rem;
    color: #00305c;
}

.area-list {
    margin-bottom: rem;
    text-align: left;
}

.area-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
}

.area-list li:last-child {
    border-bottom: none;
}

.area-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: #00305c;
    opacity: 0;
    transition: all 0.3s ease;
}

.area-carrossel-hover .btn-outline{
    background-color: #00305c;
}


.area-card:hover .area-hover {
    bottom: 0;
    opacity: 1;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #bc9c22;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #bc9c22;
    color: white;
}

/* Testimonials */
.section-title h2{
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #00305c;
    margin-bottom: 10px;
}

.testimonials {
    background-color: #f9f9f9;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 30px;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid #bc9c22;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-item h4 {
    font-size: 1.2rem;
    color: #222;
}


/* Footer */
footer {
    background: #00305c;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin-bottom: 10px;
}

/* Posts Recentes do Blog - Versão com Imagens */
.blog-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.216);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #00305c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    z-index: 2;
}

.blog-content {
    padding: 1.5rem;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.3rem;
    color: #00305c;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background-color: #00305c;
    opacity: 0;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-hover {
    bottom: 0;
    opacity: 1;
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 2px solid #bc9c22;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #bc9c22;
    color: white;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #bc9c22;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #bc9c22;
}

.btn-primary:hover {
    background-color: transparent;
    color: #bc9c22;
}

/* ----- BOTÃO WHATSAPP FIXO ----- */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding:10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: transform 0.3s;
}

.div_whatsapp{
    height: 50px;
    width: 50px;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

.btn-whatsapp img {
    width: 50px;
    height: 50px;
}

/* Responsivo */
@media (max-width: 768px) {
    .logoHero{
        max-width: 90px;
    }

    .h1Hero span, .container .h1Hero{
        font-size: 25px;
    }

    .container p{
        font-size: 16px;
    }

    nav {
        display: none;
    }

    .top-bar{
        display: none;
    }

    .about-img-2-2 img{
        display: none;
    }

    .about-2 .container {
    flex-direction: column-reverse;    
    }

    .logo img{
        max-width: 200px;
        margin-top: 10px;
    }

    header .container{
        margin: none;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    header{
        height: 60px;
    }

    .menu-mobile {
        display: none;
    }

    .about .container,
    .contact .container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}