/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #002736;
    --secondary-color: #19172d;
    --accent-color: #FECC00;
    --brown-accent: #8c7655;
    --footer-bg: #0c1216;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-right {
    display: flex;
    gap: 20px;
}

.whatsapp {
    color: var(--accent-color);
    font-weight: 500;
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo span {
    color: var(--brown-accent);
}

.logo p {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 0;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Search */
.search-toggle {
    display: none;
}

.search-icon {
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background: rgba(0, 39, 54, 0.1);
}

.search-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.search-content h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary-color);
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
}

.search-toggle:checked ~ .search-drawer {
    visibility: visible;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu-toggle,
.mobile-menu-icon {
    display: none;
}

.mobile-nav {
    display: none;
}

/* Hero Slider */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider input[type="radio"] {
    display: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slider input[type="radio"]:checked + .slide {
    opacity: 1;
}

/* O container controla a pilha e o overflow */
.slider {
  position: relative;
  overflow: hidden;
}

/* Cada slide com posição para overlay e conteúdo */
.slide {
  position: relative;
}

/* FOTO – altura responsiva (sem cortar em telas menores) */
.slide > img {
  width: 100%;
  height: clamp(320px, 60vh, 620px); /* ajuste fino aqui se quiser */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* OVERLAY – não bloqueia cliques */
.slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  pointer-events: none;   /* <— chave para não impedir o clique na navegação */
}

/* CONTEÚDO – centralizado e sem bloquear clique nos dots */
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  pointer-events: none;   /* conteúdo não captura clique (dots continuam clicáveis) */
}

.slide-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}

.slide-content p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

/* NAVEGAÇÃO – fica por cima da máscara */
.slider-nav {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;            /* acima do overlay e do conteúdo */
  display: flex;
  gap: 10px;
}

/* (opcional) estilo dos dots se precisar */
.slider-nav .nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s;
}
.slider-nav .nav-dot:hover {
  background: #fecc00;
}


/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider input[type="radio"]:checked + .slide ~ .slider-nav .nav-dot:nth-child(1),
.slider input[type="radio"]#slide1:checked ~ .slider-nav .nav-dot:nth-child(1) {
    background: var(--accent-color);
}

.slider input[type="radio"]#slide2:checked ~ .slider-nav .nav-dot:nth-child(2) {
    background: var(--accent-color);
}

.slider input[type="radio"]#slide3:checked ~ .slider-nav .nav-dot:nth-child(3) {
    background: var(--accent-color);
}

/* Auto Slider Animation */
.slider input[type="radio"]:checked + .slide {
    animation: slideIn 0.8s ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Featured Properties */
.featured-properties {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    z-index: 2;
}

.property-badge.casa-em-condominio {
    background: var(--brown-accent);
}

.property-badge.apartamentos {
    background: var(--accent-color);
    color: var(--text-dark);
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.property-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.property-btn {
  display: inline-block;
  background: #002736;   /* cor de fundo */
  color: #fff;           /* cor do texto */
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none; /* remove sublinhado */
  transition: background 0.3s ease, color 0.3s ease;
}

.property-btn:hover {
  background: #fecc00;   /* amarelo no hover */
  color: #002736;
  text-decoration: none; /* garante que não volta o sublinhado */
}

/* View More Link */
.view-more {
    text-align: center;
}

.view-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    color: var(--accent-color);
}

/* Blog News */
.blog-news {
    padding: 80px 0;
    background: white;
}

.blog-carousel {
    position: relative;
    overflow: hidden;
}

.blog-carousel input[type="radio"] {
    display: none;
}

.blog-slides {
    width: 100%;
    overflow: hidden;
}

.blog-slide {
    width: 100%;
    transition: transform 0.5s ease;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.blog-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 12px;
}

.blog-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.blog-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
}

.blog-nav-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-col span {
    color: var(--brown-accent);
}

.footer-col p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.6;
    margin-bottom: 25px !important;
    color: #FFF;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #fff;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.contact-info p {
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
        cursor: pointer;
        padding: 10px;
    }
    
    .mobile-menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-icon span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 20px 0;
    }
    
    .mobile-nav ul li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-nav ul li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav ul li a:hover {
        background: var(--primary-color);
        color: white;
    }

    /* Hero Mobile */
    .slide-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .slide-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Properties Grid Mobile */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Blog Mobile */
    .blog-cards {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }

    /* Top Bar Mobile */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-right {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-card {
        margin: 0 10px;
    }
    
    .search-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeInUp 0.6s ease forwards;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }

/* Auto Slider Rotation */
.slider input[type="radio"]#slide1:checked ~ input[type="radio"]#slide2 {
    animation: autoNext 4s infinite;
}

@keyframes autoNext {
    0%, 33% { opacity: 0; }
    34%, 66% { opacity: 1; }
    67%, 100% { opacity: 0; }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.property-image {
  position: relative;
}

.property-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9); /* opcional, para dar contraste */
  padding: 5px;
  border-radius: 6px;
}

.property-icon img {
  max-width: 40px;
  height: auto;
  display: block;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
}

.pagination .page-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #002736;   /* azul escuro */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #fecc00;   /* amarelo no hover */
  color: #002736;
}

.pagination .page-link.active {
  background-color: #fecc00;   /* amarelo ativo */
  color: #002736;
}

.pagination .page-link.prev,
.pagination .page-link.next {
  font-size: 18px; /* setas maiores */
  font-weight: bold;
}

/* Grade fixa em 3 colunas no desktop */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  justify-items: stretch;   /* impede centralizar um único card */
  justify-content: stretch; /* idem */
}

/* Cartão ocupa apenas 1 coluna sempre */
.properties-grid .property-card {
  grid-column: auto;        /* garante que não expanda para 3 colunas */
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* FOTO do imóvel (apenas o IMG direto dentro de .property-image) */
.property-image {
  position: relative;
}
.property-image > img {
  width: 100%;
  height: 220px;         /* ajuste se quiser */
  object-fit: cover;
  display: block;
}

/* CONTÊINER do ícone sobre a foto */
.property-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 44px;           /* tamanho fixo da “bolinha” */
  height: 44px;
  border-radius: 10px;   /* ou 50% p/ ficar círculo */
  background: rgba(255,255,255,0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 0;            /* zera padding pra não inflar */
}

/* IMG do ícone (garante que não herda width:100% de nenhum global) */
.property-icon img {
  width: 26px;
  height: 26px;
  max-width: none;
  object-fit: contain;
  display: block;
  pointer-events: none;  /* opcional: clique passa pela imagem */
}

.property-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-btn {
  margin-top: auto;         /* botão desce pro rodapé do card */
}

/* Mensagem de vazio continua ocupando a linha inteira */
.properties-grid > p {
  grid-column: 1 / -1;
  margin: 12px 0;
  text-align: center;
}

/* Responsivo */
@media (max-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

/* Ícone de localização (Font Awesome) */
.property-location i {
  color: #fecc00;      /* amarelo do layout */
  margin-right: 6px;
  font-size: 14px;     /* tamanho controlado */
  vertical-align: middle;
}

/* Botão VER MAIS */
.property-btn {
  display: inline-block;
  background: #002736;   /* azul escuro */
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 12px;
  align-self: flex-start; /* impede ocupar toda a largura do card */
}

.property-btn:hover {
  background: #fecc00;   /* amarelo no hover */
  color: #002736;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none; /* remove sublinhado */
  color: inherit;        /* usa mesma cor do texto */
}

.contact-whatsapp img {
  display: block;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px; /* espaçamento entre UL, separador, lupa e logo */
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-separator {
  font-weight: bold;
  color: #ccc;         /* cor da barra */
  font-size: 18px;
}

.search-container {
  position: relative;
}

.search-icon {
  cursor: pointer;
  font-size: 18px;
  color: #002736;      /* cor da lupa */
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: #fecc00;      /* hover amarelo */
}

.nav-small-logo img {
  display: block;
}

/* ====== Desktop padrão ====== */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-separator { font-weight: 700; color: #cfd6da; font-size: 18px; line-height: 1; }

.search-icon { cursor: pointer; font-size: 18px; color: #002736; transition: color .2s; display: inline-flex; align-items: center; }
.search-icon:hover { color: #fecc00; }

.nav-small-logo img { display: block; }

/* por padrão, a lupa mobile fica oculta no desktop */
.search-icon-mobile { display: none; }

/* ====== Drawer de busca: garantir overlay no mobile ====== */
.search-drawer {
  position: fixed;           /* vira overlay */
  inset: 0;                  /* top/right/bottom/left: 0 */
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}
.search-toggle:checked ~ .search-drawer {
  opacity: 1;
  pointer-events: auto;
}
.search-content {
  max-width: 560px;
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  position: relative;
}
.close-search { position: absolute; top: 8px; right: 12px; cursor: pointer; font-size: 20px; }

/* ====== MOBILE (≤1024px) ====== */
@media (max-width: 1024px) {
  /* some a lista do desktop e os extras */
  .desktop-nav ul,
  .desktop-nav .nav-separator,
  .desktop-nav .nav-small-logo {
    display: none;
  }

  /* mantém a .search-container ativa (para a drawer),
     mas esconde o ÍCONE do desktop pra não duplicar com o mobile */
  .desktop-nav .search-icon { display: none; }

  /* mostra a lupa mobile ao lado do hambúrguer */
  .search-icon-mobile {
    display: inline-flex;
    font-size: 22px;
    margin-left: 12px;
    color: #002736;
  }
  .search-icon-mobile:hover { color: #fecc00; }

  /* se o header usar layout flex, garanta que o ícone mobile não quebre a linha */
  .main-header .header-content { display: flex; align-items: center; justify-content: space-between; }
}

/* ====== Ajuste fino para telas bem pequenas ====== */
@media (max-width: 640px) {
  .search-content { margin: 8vh 16px 0; }
}

/* === FIX HERO SLIDER === */

/* Slides empilhados e controlados pelo radio */
.slider {
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute;     /* <- mantém absoluto, não relativo */
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.slider input[type="radio"]:checked + .slide {
  opacity: 1;
}

/* Imagem cobre o slide todo, sem cortar cliques dos dots */
.slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* use 'contain' se quiser ver 100% da foto */
  object-position: center;
  display: block;
  z-index: 0;
}

/* Overlay escura */
.slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
  pointer-events: none;
}

/* Título + texto centralizados, sem bloquear cliques */
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  pointer-events: none;
}
.slide-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}
.slide-content p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

/* Dots por cima e clicáveis */
.slider-nav {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.slider-nav .nav-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s;
}
.slider-nav .nav-dot:hover { background: var(--accent-color); }

/* Dot ativo baseado no radio selecionado */
#slide1:checked ~ .slider-nav label[for="slide1"],
#slide2:checked ~ .slider-nav label[for="slide2"],
#slide3:checked ~ .slider-nav label[for="slide3"] {
  background: var(--accent-color);
}

/* Altura responsiva do hero */
@media (max-width: 768px) { .hero { height: 60vh; } }

/* Destaque do título no slide */
.slide-content h2 {
  font-size: clamp(2.2rem, 4vw, 3rem); /* maior que antes */
  font-weight: 700;
  color: var(--accent-color);          /* amarelo */
  text-shadow: 0 2px 6px rgba(0,0,0,.6); /* melhora contraste na foto */
}

.social-icons a {
  font-size: 22px;
  color: #ffffff;          /* cor inicial (azul escuro do site) */
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #FECC00;          /* amarelo no hover */
}
