/* ============================================
   BRACEL AUDITÓRIO - RESPONSIVE STYLESHEET
   Mobile-first Design Approach
   ============================================ */

/* ========== TABLET (768px a 1024px) ========== */
@media (max-width: 1024px) {
    
    /* Logo */
    .logo-image {
        height: 70px;
    }
    
    /* Container */
    .container {
        padding: 0 1.5rem;
    }
    
    .container-header {
        padding: 0 1.5rem;
    }
    
    /* Typography */
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-content {
        gap: 2.5rem;
        grid-template-columns: 1fr 0.8fr;
    }
    
    .hero-image-box {
        height: 400px;
    }
    
    /* Sections */
    .about,
    .specs,
    .highlights,
    .gallery,
    .strategic-location,
    .contact {
        padding: 5rem 0;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    /* Specs Grid */
    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .spec-card {
        padding: 2rem;
    }
    
    /* Location */
    .location-content {
        gap: 2.5rem;
    }

    .location-media {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .location-map {
        height: 280px;
    }

    .location-building {
        height: 280px;
    }

    .location-details {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-wrapper {
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }

    .form-input {
        background: #fff;
        color: #333;
        border: 2px solid var(--border-color);
    }

    .form-input::placeholder {
        color: #999;
    }

    .btn-submit {
        display: block;
        width: fit-content;
        margin: 0.6rem auto 0;
    }

    .contact-note p {
        font-size: 0.92rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 1.25rem;
    }

    .footer-logo-image {
        height: 86px;
    }
}

/* ========== MOBILE LANDSCAPE (768px) ========== */
@media (max-width: 768px) {
    
    /* Header */
    .container-header {
        height: 86px;
        padding: 0 1rem;
    }
    
    .header {
        border-bottom: 1px solid rgba(221, 109, 4, 0);
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Menu Desktop */
    .menu-desktop {
        display: none;
    }
    
    /* Hamburger */
    .hamburger {
        display: flex;
    }
    
    .bar {
        width: 24px;
        height: 2.5px;
    }
    
    /* Menu Mobile */
    .menu-mobile {
        top: 86px;
        max-height: calc(100vh - 86px);
    }
    
    .menu-mobile-link {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    /* Hero */
    .hero {
        margin-top: 0;
        min-height: 75vh;
    }

    .logo-image {
        height: 200px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-image-box {
        height: 300px;
        order: -1;
    }
    
    /* Sections */
    .about,
    .specs,
    .highlights,
    .gallery,
    .strategic-location,
    .contact {
        padding: 3.5rem 0;
    }

    .highlights {
        padding-top: 2.5rem;
        padding-bottom: 1rem;
    }

    .gallery {
        padding-top: 1rem;
        padding-bottom: 1.75rem;
    }

    .strategic-location {
        padding-top: 0.75rem;
        padding-bottom: 2.5rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight-card {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .title-underline {
        width: 50px;
    }
    
    /* About */
    .about-text {
        font-size: 0.95rem;
    }
    
    /* Hero Carousel */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-slide-content {
        padding: 0 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-prev,
    .hero-next {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }

    /* Specs */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .spec-card {
        padding: 1.5rem;
    }
    
    .spec-icon {
        font-size: 2rem;
    }
    
    /* Gallery */
    .gallery-carousel {
        border-radius: 8px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    
    /* Strategic Location */
    .location-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .location-map {
        height: 240px;
        border-radius: 10px;
    }

    .location-building {
        height: 240px;
        border-radius: 10px;
    }
    
    .location-details {
        gap: 1rem;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-input {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        background: #fff;
        color: #333;
        border: 2px solid var(--border-color);
    }

    .form-input::placeholder {
        color: #999;
    }

    .btn-submit {
        display: block;
        width: fit-content;
        margin: 0.6rem auto 0;
    }
    
    .contact-info {
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .contact-info-item {
        gap: 1rem;
    }
    
    .contact-info-icon {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
    
    .contact-info-item h4 {
        font-size: 1rem;
    }
    
    .contact-info-item p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-logo-image {
        height: 82px;
        margin-bottom: 0.4rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-title {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Botão WhatsApp Flutuante */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }
}

/* ========== MOBILE (480px) ========== */
@media (max-width: 480px) {
    
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    .container-header {
        padding: 0 1rem;
    }
    
    /* Header */
    .header {
        border-bottom: 1px solid rgba(221, 109, 4, 0);
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    .logo-image {
        height: 190px;
    }

    .footer-logo-image {
        height: 74px;
    }

    .bar {
        width: 22px;
        height: 2px;
    }
    
    /* Menu Mobile */
    .menu-mobile-link {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero {
        min-height: 75vh;
    }

    .hero-slide-content {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 50px;
    }
    
    .btn-large {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 50px;
    }
    
    .hero-image-box {
        height: 250px;
    }
    
    /* Sections */
    .about,
    .specs,
    .highlights,
    .gallery,
    .strategic-location,
    .contact {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .title-underline {
        width: 45px;
    }
    
    /* About */
    .about-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Specs */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .spec-card {
        padding: 1.25rem;
    }
    
    .spec-icon {
        font-size: 1.8rem;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .spec-text {
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-prev,
    .gallery-next {
        width: 34px;
        height: 34px;
        font-size: 1.4rem;
    }
    
    /* Location */
    .location-content {
        gap: 2rem;
    }
    
    .location-map {
        height: 210px;
        border-radius: 8px;
    }

    .location-building {
        height: 210px;
        border-radius: 8px;
    }
    
    .detail-item {
        gap: 1rem;
    }
    
    .detail-item strong {
        font-size: 1rem;
    }
    
    .detail-item p {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-wrapper {
        gap: 0.8rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.8rem 0.9rem;
        font-size: 0.9rem;
        background: #fff;
        color: #333;
        border: 2px solid var(--border-color);
    }
    
    .form-textarea {
        min-height: 120px;
    }

    .btn-submit {
        display: block;
        width: fit-content;
        margin: 0.6rem auto 0;
    }
    
    .contact-info {
        gap: 0.6rem;
        padding: 0.9rem;
    }
    
    .contact-info-item {
        gap: 0.8rem;
    }
    
    .contact-info-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .contact-info-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-info-item p {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.75rem 0 0.85rem;
    }
    
    .footer-content {
        gap: 0.75rem;
    }
    
    .footer-logo-image {
        height: 46px;
        margin-bottom: 0.35rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-title {
        margin-bottom: 0.8rem;
        font-size: 0.95rem;
    }
    
    .footer-links {
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 0.65rem;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    /* Botão WhatsApp Flutuante */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 1.2rem;
        right: 1.2rem;
        font-size: 1.3rem;
    }
    
    /* Hero Overlay */
    .hero-overlay {
        background: linear-gradient(to right, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(26, 26, 26, 0.3) 100%);
    }
}

/* ========== SMALL PHONES (320px) ========== */
@media (max-width: 375px) {
    
    /* Typography */
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Contact Form */
    .form-textarea {
        min-height: 100px;
    }
}

/* ========== LANDSCAPE MODE (SMALL) ========== */
@media (max-height: 600px) and (orientation: landscape) {
    
    .hero {
        min-height: 75vh;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ========== PRINT STYLE ========== */
@media print {
    
    .header,
    .whatsapp-float,
    .menu-mobile {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .hero {
        margin-top: 0;
    }
}

/* ============================================
   AJUSTES MOBILE-ONLY (sobrescrevem media queries acima)
   ============================================ */
@media (max-width: 768px) {
    /* Botão WhatsApp dentro do hero (visível no mobile) */
    .btn-mobile-whatsapp {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: #25d366 !important;
        color: var(--white) !important;
        border-radius: 50px;
        padding: 0.9rem 1.5rem;
        font-weight: 600;
        text-decoration: none;
        margin-top: 0.75rem;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    }

    .btn-mobile-whatsapp:hover {
        background: #20ba5a !important;
    }

    .btn-mobile-whatsapp i {
        font-size: 1.2rem;
    }

    /* Esconder botão WhatsApp flutuante quando há um no hero */
    .whatsapp-float {
        display: none !important;
    }

    /* Specs: 2 colunas no mobile para reduzir altura */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .spec-card {
        padding: 1.25rem !important;
    }

    /* Footer Mobile: logo grande à direita, infos à esquerda */
    .footer-content {
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        gap: 1.5rem !important;
        align-items: center !important;
    }

    /* Logo grande à direita, ocupando as 2 linhas */
    .footer-section:nth-child(1) {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        align-items: center !important;
    }

    /* Links legais (esquerda, em cima) */
    .footer-section:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-section:nth-child(2) .footer-links {
        align-items: flex-start !important;
    }

    /* Contatos (esquerda, embaixo) */
    .footer-section:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-links-right {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-links-right li {
        flex-direction: row-reverse;
        justify-content: flex-end !important;
        gap: 0.75rem;
    }

    .footer-links-right i {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-logo-image {
        height: 130px !important;
    }
}
