/* mobile-start-reference.css */

/* Hide mobile reference on desktop */
@media (min-width: 768px) {
    .mobile-start-reference {
        display: none !important;
    }
}

/* Mobile Rules */
@media (max-width: 767px) {
    /* Ensure old desktop components are hidden in this viewport */
    .desktop-only {
        display: none !important;
    }

    .mobile-start-reference {
        display: block;
        background: #090909;
        color: #fff;
        font-family: 'Inter', sans-serif;
        width: 100%;
        overflow: hidden;
        position: relative;
        z-index: 100;
    }

    /* 1. HEADER MOBILE */
    .mobile-reference-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 12px 14px 10px;
        gap: 8px;
        position: relative;
        z-index: 10;
    }
    .mobile-logo {
        width: clamp(120px, 35vw, 140px);
        height: auto;
        display: block;
        object-fit: contain;
        flex-shrink: 0;
    }
    .mobile-hamburger {
        background: transparent;
        border: none;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. CTA SUPERIOR */
    .mobile-top-action {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 12px;
        z-index: 15;
    }
    .mobile-btn-top {
        background: #E5B481;
        color: #000;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 14px;
        height: 38px;
        border-radius: 6px;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-btn-top svg {
        width: 16px;
        height: 16px;
    }

    /* 3. HERO MOBILE */
    .mobile-reference-hero {
        position: relative;
        padding: 5px 20px 20px !important;
        display: flex;
        flex-direction: column;
        min-height: 540px !important;
        overflow: hidden;
        isolation: isolate;
    }

    /* 6. FOTOGRAFIA DA RAISSA E FADE */
    .mobile-hero-photo-wrapper {
        position: absolute;
        inset: 0;
        z-index: 1;
        overflow: hidden;
        pointer-events: none;
    }

    .mobile-hero-photo-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
            linear-gradient(
                90deg,
                #090909 0%,
                rgba(9, 9, 9, 0.95) 35%,
                rgba(9, 9, 9, 0.70) 45%,
                rgba(9, 9, 9, 0.20) 55%,
                transparent 65%
            ),
            linear-gradient(
                0deg,
                #090909 0%,
                rgba(9, 9, 9, 0.80) 10%,
                rgba(9, 9, 9, 0.30) 25%,
                transparent 40%
            );
    }

    .mobile-hero-photo {
        position: absolute;
        display: block;
        width: auto;
        height: 100%;
        max-width: none;
        right: -18%;
        bottom: 0;
        object-fit: contain;
    }

    /* 4. CONTEÚDO DO HERO */
    .mobile-hero-copy,
    .mobile-hero-actions,
    .mobile-hero-location {
        position: relative;
        z-index: 3;
    }

    .mobile-hero-copy {
        width: 100%;
    }

    .mobile-hero-eyebrow {
        color: #C79A72;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.4;
        display: block;
        margin-bottom: 10px;
    }

    /* 5. HEADLINE */
    .mobile-hero-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(36px, 10vw, 44px);
        color: #fff;
        line-height: 1;
        font-weight: 400;
        margin-bottom: 6px;
    }
    .mobile-hero-title span {
        display: block;
        white-space: nowrap;
    }

    /* 9. FRASE MANUSCRITA */
    .mobile-hero-cursive {
        font-family: 'BillionDreams', 'Brush Script MT', cursive;
        font-size: clamp(34px, 8vw, 40px);
        color: #C79A72;
        line-height: 1.1;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
    }
    .mobile-hero-cursive span {
        display: block;
        white-space: nowrap;
    }

    /* 10. DESCRIÇÃO */
    .mobile-hero-desc {
        font-size: 13.5px;
        line-height: 1.5;
        color: #D6D6D6;
        margin-bottom: 20px;
        max-width: 260px;
    }

    /* 11. BOTÕES PRINCIPAIS */
    .mobile-hero-actions {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 210px;
        max-width: 100%;
    }
    .mobile-btn-primary, .mobile-btn-outline {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 42px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-btn-primary {
        background: #E5B481;
        color: #000;
    }
    .mobile-btn-outline {
        background: transparent;
        border: 1px solid #C79A72;
        color: #fff;
    }
    .mobile-location {
        color: #C79A72;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        white-space: nowrap;
    }

    /* 13. PAINEL DE DIFERENCIAIS */
    .mobile-benefits-panel {
        padding: 10px 20px 40px;
        position: relative;
        z-index: 5;
    }
    .mobile-benefits-grid {
        background: #111111;
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 20px;
        padding: 32px 16px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .mobile-benefit-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .mobile-benefit-item svg {
        width: 34px;
        height: 34px;
        margin-bottom: 12px;
    }
    .mobile-benefit-item h4 {
        color: #C79A72;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    .mobile-benefit-item p {
        color: #A0A0A0;
        font-size: 10px;
        line-height: 1.3;
    }

    .mobile-about-reference {
        padding: 0 20px 60px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        background: #090909;
    }
    .mobile-about-copy {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .mobile-about-label {
        color: #C79A72;
        font-size: 11px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        display: block;
        margin-bottom: 12px;
    }
    .mobile-about-copy h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 32px;
        color: #fff;
        line-height: 1.1;
        font-weight: 500;
        margin-bottom: 16px;
    }
    .mobile-about-copy p {
        color: #A0A0A0;
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .mobile-about-copy p:last-child {
        margin-bottom: 0;
    }
    .mobile-about-photo {
        width: 100%;
    }
    .mobile-about-photo img {
        width: 100%;
        height: 380px;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

    /* 15. SEÇÃO SERVIÇOS MOBILE (ESTILO LISTA REFERÊNCIA) */
    .mobile-services-section {
        padding: 40px 16px 60px;
        background: #090909;
        position: relative;
        z-index: 5;
    }
    .mobile-services-title-area {
        text-align: center;
        margin-bottom: 24px;
    }
    .mobile-services-subtitle {
        color: #C79A72;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        display: block;
        margin-bottom: 8px;
    }
    .mobile-services-main-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 26px;
        color: #fff;
        font-weight: 500;
        line-height: 1.2;
    }
    .mobile-services-container {
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.01);
        overflow: hidden;
    }
    .mobile-service-row {
        display: flex;
        align-items: flex-start;
        padding: 24px 16px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mobile-service-row:last-child {
        border-bottom: none;
    }
    .service-image-wrapper {
        flex: 0 0 auto;
        width: clamp(74px, 15vw, 84px);
        height: clamp(74px, 15vw, 84px);
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid rgba(199, 154, 114, 0.4);
        box-shadow: 0 4px 15px rgba(199, 154, 114, 0.15);
        margin-top: 2px;
    }
    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* object-position is inline */
    }
    .mobile-service-text-col {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .mobile-service-row-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 20px;
        font-weight: 500;
        color: #fff;
        line-height: 1.2;
    }
    .mobile-service-row-desc {
        font-family: 'Inter', sans-serif;
        font-size: 11.5px;
        line-height: 1.45;
        color: #A0A0A0;
    }
    .mobile-service-meta-group {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }
    .mobile-service-time-col {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #A0A0A0;
        font-size: 11px;
        white-space: nowrap;
    }
    .mobile-service-time-col svg {
        width: 12px;
        height: 12px;
        color: #A0A0A0;
    }
    .mobile-service-price-col {
        font-family: 'Cormorant Garamond', serif;
        font-size: 18px;
        font-weight: 600;
        color: #E5B481;
        white-space: nowrap;
    }
    .mobile-service-row-btn {
        background: #E5B481;
        color: #000;
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        text-align: center;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 16px;
    }
    
    /* Buttons below container */
    .mobile-services-actions-bottom {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mobile-services-actions-bottom .btn-primary {
        background: #E5B481;
        color: #000;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        width: 100%;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}
