/* ==========================================================================
   RESET E ESTILOS GLOBAIS
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
}

body {
    padding-top: 80px; /* Espaço para o header fixo */
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 40px; }
h2 { font-size: 36px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

a {
    color: #FF3F00;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #333;
}

/* ==========================================================================
   HEADER E NAVEGAÇÃO
   ========================================================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    margin-left: 15px;
    margin-top: 5px;
}

.logo img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
}

/* Navegação Desktop */
.navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation ul li {
    margin: 0 2px;
}

.navigation ul li a {
    display: block;
    padding: 0 12px;
    height: 78px;
    line-height: 78px;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
}

.navigation ul li a:hover,
.navigation ul li a.active {
    color: #FF3F00;
    border-top-color: #FF3F00;
    background-color: #f9f9f9;
}

/* Menu Mobile Toggle - AGORA À DIREITA */
.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    line-height: 80px;
    cursor: pointer;
    color: #666;
    margin-left: auto; /* Empurra para a direita */
    margin-right: 15px;
}

.mobile-menu-toggle:hover {
    color: #FF3F00;
}

/* ==========================================================================
   SLIDER CORRIGIDO
   ========================================================================== */

.slider {
    max-height: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

#mainCarousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner > .item {
    display: none;
    position: relative;
}

.carousel-inner > .active {
    display: block;
}

.carousel-inner > .item > img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}



.carousel-caption h2 {
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #fff;
}

.carousel-caption p {
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: transparent;
    color: #fff;
    font-size: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 15;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
}

.carousel-control.left {
    left: 20px;
}

.carousel-control.right {
    right: 20px;
}

.carousel-control:hover {
    background: #FF3F00;
    color: #fff;
}

/* ==========================================================================
   CONTAINER E GRID
   ========================================================================== */

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row-fluid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

[class*="span"] {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 1px;
}

.span12 { width: 100%; }
.span10 { width: 83.333%; }
.span9 { width: 75%; }
.span8 { width: 66.667%; }
.span7 { width: 58.333%; }
.span6 { width: 50%; }
.span5 { width: 41.667%; }
.span4 { width: 33.333%; }
.span3 { width: 25%; }
.span2 { width: 16.667%; }
.span1 { width: 8.333%; }

/* ==========================================================================
   COMPONENTES
   ========================================================================== */

/* Divider - AGORA SEM IMAGEM EXTERNA */
.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #FF3F00, transparent);
    margin: 40px auto;
    width: 80%;
}

/* Author Box */
.author-box {
    border-top: 4px solid #FF3F00;
    padding: 30px 0;
    margin: 40px 0;
    border-bottom: 1px solid #eee;
}

.author-info h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.author-info h1 i {
    color: #FF3F00;
    margin-right: 10px;
}

/* Services */
.services {
    margin-bottom: 30px;
}

.services h2 {
    font-size: 26px;
    color: #FF3F00;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.services h2 i {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #FF3F00;
    color: #fff;
    margin-right: 10px;
    border-radius: 3px;
}

.services p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Lista de Loteamentos - CENTRALIZADA */
.loteamento-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.loteamento-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.loteamento-col {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.loteamento-col h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.loteamento-col h3 i {
    color: #FF3F00;
    margin-right: 8px;
    display: block;
    margin-bottom: 10px;
    font-size: 32px;
}

.loteamento-col a {
    color: #666;
    display: block;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.loteamento-col a:hover {
    color: #FF3F00;
    transform: scale(1.05);
}


/* ==========================================================================
   Galeria de Fotos - Desktop Esquerda / Mobile Centro
   ========================================================================== */

.galeria-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 30px auto;
}

.galeria-coluna {
    flex: 0 0 250px;
    margin: 0 30px;
    text-align: left; /* Desktop alinhado à esquerda */
}

.galeria-coluna h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
    white-space: nowrap;
    text-align: left; /* Desktop alinhado à esquerda */
}

.galeria-coluna h3 i {
    color: #FF3F00;
    margin-right: 8px;
    font-size: 20px;
}

.galeria-coluna a {
    color: #666;
    text-decoration: none;
}

.galeria-coluna a:hover {
    color: #FF3F00;
}

/* Responsivo Mobile */
@media screen and (max-width: 767px) {
    .galeria-container {
        flex-direction: column;
        align-items: center;
    }
    
    .galeria-coluna {
        margin: 0 0 10px 0;
        flex: 0 0 auto;
        text-align: center; /* Mobile centralizado */
        width: 100%;
    }
    
    .galeria-coluna h3 {
        white-space: normal;
        text-align: center; /* Mobile centralizado */
    }
}

/* Responsivo */
@media screen and (max-width: 767px) {
    .galeria-container {
        flex-direction: column;
        align-items: center;
    }
    
    .galeria-coluna {
        margin: 0 0 10px 0;
        flex: 0 0 auto;
        text-align: center;
    }
    
    .galeria-coluna h3 {
        white-space: normal;
        text-align: center;
    }
}

/* WhatsApp Link */
.whatsapp-link {
    color: #25D366;
    font-size: 30px;
    font-weight: 700;
    display: inline-block;
    margin: 20px 0;
}

.whatsapp-link i {
    font-size: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.whatsapp-link:hover {
    color: #128C7E;
}

/* Quote */
.quote-icon {
    color: #FF3F00;
    font-size: 24px;
    margin-right: 10px;
    float: left;
}

/* Scroll Top */
.scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF3F00;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
}

.scrollTop:hover {
    background: #333;
    transform: translateY(-5px);
}

.scrollTop a {
    color: #fff;
    display: block;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.copyright-footer {
    background-color: #222;
    color: #999;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #444;
}

.copyright-footer p {
    margin-bottom: 0;
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }

.margin-top { margin-top: 20px; }
.margin-top-large { margin-top: 50px; }
.margin-bottom { margin-bottom: 20px; }
.margin-bottom-large { margin-bottom: 50px; }

.padding-top { padding-top: 20px; }
.padding-top-large { padding-top: 50px; }

.font-size-30 { font-size: 30px; }
.font-size-24 { font-size: 24px; }
.font-size-20 { font-size: 20px; }

.color-orange { color: #FF3F00; }
.color-white { color: #fff; }

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVIDADE
   ========================================================================== */

/* Tablet (768px - 979px) */
@media screen and (max-width: 979px) {
    .navigation ul li a {
        padding: 0 8px;
        font-size: 16px;
    }
    
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    
    .carousel-caption h2 {
        font-size: 40px;
    }
    
    .carousel-caption p {
        font-size: 18px;
    }
}

/* Mobile (até 767px) */
@media screen and (max-width: 767px) {
    body {
        padding-top: 70px;
    }
    
    #header {
        height: 70px;
    }
    
    .logo {
        margin-left: 10px;
        margin-top: 0;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-right: 10px;
    }
    
    .navigation ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 9998;
    }
    
    .navigation ul.active {
        display: flex;
    }
    
    .navigation ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .navigation ul li a {
        height: auto;
        line-height: normal;
        padding: 15px 20px;
        border-top: none;
        text-align: center;
    }
    
    .navigation ul li a:hover {
        border-top: none;
        background: #f5f5f5;
    }
    
    /* Grid responsivo */
    [class*="span"] {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .carousel-caption {
        bottom: 15px;
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 20px;
    }
    
    .author-info h1 {
        font-size: 28px;
    }
    
    .services h2 {
        font-size: 22px;
    }
    
    .whatsapp-link {
        font-size: 24px;
    }
    
    .whatsapp-link i {
        font-size: 32px;
    }
    
    .galeria-item {
        flex: 0 1 100%;
    }
}

/* Mobile pequeno (até 480px) */
@media screen and (max-width: 480px) {
    .carousel-caption h2 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 12px;
    }
    
    .author-info h1 {
        font-size: 24px;
    }
    
    .services h2 {
        font-size: 20px;
    }
    
    .services h2 i {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }
    
    .whatsapp-link {
        font-size: 18px;
    }
}