/* ============================================
   RESPONSIVE DESIGN - Mobile First Premium
   ✨ Hanrafeth Brito Salão de Beleza ✨
   Design Noir Surpreendente em Todos os Dispositivos
   ============================================ */

/* ============================================
   MOBILE SMALL (320px - 479px)
   ============================================ */
@media (max-width: 479.98px) {
    :root {
        --space-lg: 24px;
        --space-xl: 48px;
        --space-2xl: 70px;
        --space-3xl: 90px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Header Mobile */
    .header .container {
        padding: var(--space-sm);
        min-height: 80px;
    }

    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .logo-text::before,
    .logo-text::after {
        display: none;
    }

    .logo-subtitle {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    /* Hero Mobile Small */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: var(--space-sm);
        line-height: 1.25;
        letter-spacing: 3px;
    }

    .hero-title span::after {
        height: 2px;
        bottom: -4px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.9;
        margin-bottom: 0;
        padding: 0 var(--space-xs);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        padding: 0 var(--space-xs);
        margin-bottom: var(--space-lg);
    }

    .cta-btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 0.72rem;
        min-height: 56px;
        letter-spacing: 2px;
        border-radius: var(--radius-lg);
        gap: 10px;
    }

    .cta-btn svg {
        width: 18px;
        height: 18px;
    }

    /* SEO Sections Mobile Small */
    .seo-section {
        padding: var(--space-xl) 0;
    }

    .seo-section::before,
    .seo-section::after {
        display: none;
    }

    .seo-section h2 {
        font-size: 1.35rem;
        margin-bottom: var(--space-md);
        padding-bottom: var(--space-sm);
        letter-spacing: 2px;
    }

    .seo-section h2::before {
        font-size: 0.75rem;
    }

    .seo-section h2::after {
        width: 60px;
    }

    .seo-section p {
        font-size: 1rem;
        line-height: 1.9;
        text-align: left;
        padding: 0;
    }

    .seo-section .cta-btn {
        max-width: 100%;
    }

    /* WhatsApp Float Mobile */
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float a {
        width: 58px;
        height: 58px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }

    /* Business Embed Mobile */
    .business-embed-section {
        padding: var(--space-xl) 0;
    }

    .business-embed-section h2 {
        font-size: 1.5rem;
        margin-bottom: var(--space-md);
        letter-spacing: 2px;
    }

    .business-embed-section p {
        font-size: 0.95rem;
        padding: 0 var(--space-sm);
    }

    .business-embed-section iframe {
        height: 300px;
        border-radius: var(--radius-md);
    }

    /* Footer Mobile */
    .footer {
        padding: var(--space-xl) 0 var(--space-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.15rem;
        letter-spacing: 2px;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-section ul li a {
        justify-content: center;
        font-size: 0.9rem;
    }

    .footer-section ul li a::before {
        display: none;
    }

    .footer-section ul li a:hover {
        padding-left: 0;
    }

    .footer-bottom p {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    /* Sitemap Mobile */
    .sitemap-section {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
        border-radius: var(--radius-md);
    }

    .sitemap-section h2 {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }

    .sitemap-list li {
        padding: var(--space-xs) var(--space-sm);
    }

    .sitemap-list li a {
        font-size: 0.9rem;
    }

    .mapa-description {
        font-size: 1rem;
        padding: 0 var(--space-sm);
    }
}

/* ============================================
   MOBILE STANDARD (480px - 575px)
   ============================================ */
@media (min-width: 480px) and (max-width: 575.98px) {
    :root {
        --space-lg: 28px;
        --space-xl: 56px;
        --space-2xl: 80px;
        --space-3xl: 100px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .header .container {
        padding: var(--space-sm) var(--space-md);
        min-height: 85px;
    }

    .logo-text {
        font-size: 1.45rem;
        letter-spacing: 4px;
    }

    .logo-text::before,
    .logo-text::after {
        font-size: 0.6em;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    /* Hero Mobile Standard */
    .hero {
        padding: 130px 0 90px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .cta-btn {
        width: 100%;
        max-width: 360px;
        padding: 18px 30px;
        font-size: 0.75rem;
        min-height: 58px;
    }

    /* SEO Sections */
    .seo-section h2 {
        font-size: 1.45rem;
        letter-spacing: 2px;
    }

    .seo-section p {
        font-size: 1.05rem;
        text-align: left;
    }

    /* Business Embed */
    .business-embed-section h2 {
        font-size: 1.6rem;
    }

    .business-embed-section iframe {
        height: 340px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   TABLET PEQUENO (576px - 767px)
   ============================================ */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        padding: 0 var(--space-md);
    }

    .header .container {
        min-height: 90px;
    }

    .logo-text {
        font-size: 1.6rem;
        letter-spacing: 5px;
    }

    /* Hero Tablet Pequeno */
    .hero {
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: 2.9rem;
        letter-spacing: 5px;
    }

    .hero-description {
        font-size: 1.12rem;
    }

    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .cta-btn {
        flex: 1 1 calc(50% - var(--space-sm));
        max-width: 300px;
        padding: 18px 28px;
        font-size: 0.75rem;
    }

    /* SEO Sections */
    .seo-section {
        padding: var(--space-xl) 0;
    }

    .seo-section h2 {
        font-size: 1.7rem;
    }

    .seo-section p {
        font-size: 1.1rem;
    }

    /* Business Embed */
    .business-embed-section {
        padding: var(--space-2xl) 0;
    }

    .business-embed-section h2 {
        font-size: 1.9rem;
    }

    .business-embed-section iframe {
        height: 400px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-section:last-child {
        grid-column: span 2;
    }

    .footer-section h3::after {
        left: 0;
        transform: none;
    }

    .footer-section ul li a {
        justify-content: flex-start;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-float a {
        width: 66px;
        height: 66px;
    }
}

/* ============================================
   TABLET (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .header .container {
        min-height: 95px;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 6px;
    }

    .logo-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    /* Hero Tablet */
    .hero {
        padding: 160px 0 120px;
    }

    .hero-title {
        font-size: 3.4rem;
        letter-spacing: 5px;
    }

    .hero-description {
        font-size: 1.25rem;
        max-width: 750px;
    }

    .hero-ctas {
        gap: var(--space-sm);
    }

    .cta-btn {
        padding: 20px 34px;
        font-size: 0.78rem;
    }

    /* SEO Sections */
    .seo-section {
        padding: var(--space-2xl) 0;
    }

    .seo-section h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .seo-section p {
        font-size: 1.15rem;
    }

    /* Business Embed */
    .business-embed-section {
        padding: var(--space-2xl) 0;
    }

    .business-embed-section h2 {
        font-size: 2.3rem;
    }

    .business-embed-section iframe {
        height: 450px;
    }

    /* Footer */
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-section:last-child {
        grid-column: auto;
    }

    /* WhatsApp Float */
    .whatsapp-float a {
        width: 68px;
        height: 68px;
    }
}

/* ============================================
   DESKTOP (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .logo-text {
        font-size: 2.1rem;
        letter-spacing: 7px;
    }

    /* Hero Desktop */
    .hero {
        padding: 175px 0 130px;
    }

    .hero-title {
        font-size: 4rem;
        letter-spacing: 6px;
    }

    .hero-description {
        font-size: 1.35rem;
    }

    .cta-btn {
        padding: 22px 40px;
        font-size: 0.8rem;
    }

    /* SEO Sections */
    .seo-section h2 {
        font-size: 2.2rem;
    }

    .seo-section p {
        font-size: 1.18rem;
    }

    /* Business Embed */
    .business-embed-section h2 {
        font-size: 2.6rem;
    }

    .business-embed-section iframe {
        height: 480px;
    }
}

/* ============================================
   DESKTOP GRANDE (1200px - 1399px)
   ============================================ */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        padding: 0 var(--space-xl);
    }

    .logo-text {
        font-size: 2.3rem;
        letter-spacing: 8px;
    }

    /* Hero Desktop Grande */
    .hero {
        padding: 185px 0 145px;
    }

    .hero::before,
    .hero::after {
        opacity: 1;
    }

    .hero-title {
        font-size: 4.8rem;
    }

    .hero-description {
        font-size: 1.4rem;
        max-width: 900px;
    }

    .hero-ctas {
        gap: var(--space-md);
    }

    .cta-btn {
        padding: 22px 46px;
        font-size: 0.82rem;
        min-height: 68px;
    }

    /* SEO Sections */
    .seo-section {
        padding: var(--space-2xl) 0;
    }

    .seo-section h2 {
        font-size: 2.4rem;
    }

    .seo-section p {
        font-size: 1.2rem;
    }

    /* Business Embed */
    .business-embed-section {
        padding: var(--space-3xl) 0;
    }

    .business-embed-section iframe {
        height: 520px;
    }

    .business-embed-section h2 {
        font-size: 2.9rem;
    }

    /* Footer */
    .footer-content {
        gap: var(--space-xl);
    }

    .footer-section h3 {
        font-size: 1.35rem;
    }
}

/* ============================================
   EXTRA LARGE (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--space-xl);
    }

    .logo-text {
        font-size: 2.5rem;
    }

    /* Hero Extra Large */
    .hero {
        padding: 200px 0 160px;
    }

    .hero-title {
        font-size: 5.2rem;
    }

    .hero-description {
        font-size: 1.45rem;
        max-width: 950px;
    }

    .cta-btn {
        padding: 24px 52px;
        font-size: 0.85rem;
        min-height: 70px;
    }

    /* SEO Sections */
    .seo-section .container {
        max-width: 1000px;
    }

    .seo-section h2 {
        font-size: 2.5rem;
    }

    .seo-section p {
        font-size: 1.22rem;
    }

    /* Business Embed */
    .business-embed-section iframe {
        max-width: 1250px;
        height: 550px;
    }

    .business-embed-section h2 {
        font-size: 3.2rem;
    }
}

/* ============================================
   ULTRA-WIDE (1600px+)
   ============================================ */
@media (min-width: 1600px) {
    .hero-title {
        font-size: 5.8rem;
    }

    .hero-description {
        font-size: 1.55rem;
        max-width: 1000px;
    }

    .seo-section h2 {
        font-size: 2.7rem;
    }

    .business-embed-section iframe {
        height: 600px;
    }
}

/* ============================================
   4K / ULTRA WIDE (1920px+)
   ============================================ */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 6.5rem;
    }

    .hero-description {
        font-size: 1.65rem;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 110px 0 70px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--space-sm);
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--space-md);
    }

    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .cta-btn {
        padding: 12px 22px;
        font-size: 0.7rem;
        min-height: 48px;
        flex: 1 1 auto;
    }

    .seo-section {
        padding: var(--space-lg) 0;
    }

    .seo-section h2 {
        font-size: 1.4rem;
    }
}

/* ============================================
   ALTO CONTRASTE
   ============================================ */
@media (prefers-contrast: high) {
    :root {
        --noir-absolute: #000000;
        --noir-velvet: #0a0a0a;
        --noir-silk: #121212;
        --oro-champagne: #ffd700;
        --oro-radiant: #ffe44d;
        --oro-deep: #b8860b;
        --ivory-warm: #ffffff;
        --ivory-silk: #f5f5f5;
    }

    .header {
        background: #ffffff;
        border-bottom: 3px solid var(--oro-champagne);
    }

    .header::after {
        height: 3px;
        opacity: 1;
    }

    .cta-btn {
        border: 2px solid currentColor;
    }

    .cta-primary {
        background: var(--oro-champagne);
        color: #000000;
    }

    .cta-secondary {
        background: #00ff00;
        border-color: #008800;
    }

    .cta-tertiary {
        background: #8b0000;
        color: #ffffff;
    }

    .seo-section h2 {
        color: var(--oro-champagne);
    }

    .seo-section p {
        color: var(--ivory-warm);
    }

    .footer {
        background: #000000;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::after {
        animation: none;
    }

    .whatsapp-float a {
        animation: none;
    }

    .cta-primary::before {
        display: none;
    }

    .footer::before {
        animation: none;
    }

    .hero-title span {
        animation: none;
        background-position: 0% center;
    }

    .logo-text::before,
    .logo-text::after {
        animation: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .whatsapp-float,
    .hero-ctas,
    .cta-btn,
    .footer,
    .business-embed-section iframe {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #222222 !important;
        font-size: 11pt;
        line-height: 1.5;
    }

    .hero {
        padding: 20pt 0;
        min-height: auto;
        background: #ffffff !important;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-title {
        color: #222222 !important;
        font-size: 22pt;
        background: none !important;
        -webkit-text-fill-color: #222222 !important;
    }

    .hero-title span {
        background: none !important;
        -webkit-text-fill-color: #9e7b2f !important;
        color: #9e7b2f !important;
    }

    .hero-title span::after {
        display: none;
    }

    .hero-description {
        color: #444444 !important;
        font-size: 11pt;
    }

    .seo-section {
        padding: 15pt 0;
        background: #ffffff !important;
        page-break-inside: avoid;
    }

    .seo-section::before,
    .seo-section::after {
        display: none;
    }

    .seo-section h2 {
        color: #9e7b2f !important;
        font-size: 14pt;
    }

    .seo-section h2::before,
    .seo-section h2::after {
        display: none;
    }

    .seo-section p {
        color: #444444 !important;
        font-size: 10pt;
    }

    .footer {
        background: #f5f3f0 !important;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #222222 !important;
    }

    .business-embed-section {
        background: #f0f0f0 !important;
        padding: 15pt;
        color: #222222 !important;
    }

    .business-embed-section h2 {
        color: #8b6914 !important;
    }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .cta-btn:hover {
        transform: none;
    }

    .cta-btn:active {
        transform: scale(0.96);
        opacity: 0.9;
    }

    .whatsapp-float a:hover {
        transform: none;
    }

    .whatsapp-float a:active {
        transform: scale(0.9);
    }

    .sitemap-list li a:hover {
        transform: none;
    }

    .footer-section ul li a:hover {
        padding-left: 0;
    }

    .footer-section ul li a:hover::before {
        display: none;
    }

    .seo-section:hover::before,
    .seo-section:hover::after {
        height: 0;
    }

    .sitemap-section:hover {
        transform: none;
    }

    .business-embed-section iframe:hover {
        transform: none;
    }

    /* Maior área de toque */
    .cta-btn {
        min-height: 56px;
    }

    .footer-section ul li {
        padding: var(--space-xs) 0;
    }
}

/* ============================================
   HOVER DEVICES
   ============================================ */
@media (hover: hover) {
    .cta-btn {
        cursor: pointer;
    }

    .sitemap-list li:hover {
        cursor: pointer;
    }

    .logo a:hover {
        cursor: pointer;
    }

    /* Efeitos hover mais pronunciados */
    .cta-btn:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .sitemap-section:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   SAFE AREA (iPhone X e superiores)
   ============================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: calc(35px + env(safe-area-inset-bottom));
    }

    @media (max-width: 479.98px) {
        .whatsapp-float {
            bottom: calc(18px + env(safe-area-inset-bottom));
        }
    }
}

/* ============================================
   NOTCH SUPPORT (iPads e MacBooks com notch)
   ============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
}
