/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-rose: #B77F7E;
    --color-white: #FFFFFF;
    --color-beige: #FFE9BA;
    --color-tan: #B59A7C;
    --color-bg: #FFFFFF;
    --color-text: #555555;
    --color-heading: #B77F7E;
    --color-contact-bg: #EAE3D9; /* A light grayish beige matching the screenshot */
    
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* =========================================================================
   CUSTOM SCROLLBAR & SELECTION
   ========================================================================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-contact-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-rose);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-tan);
}

::selection {
    background-color: var(--color-rose);
    color: var(--color-white);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    margin-bottom: 1em;
}

/* =========================================================================
   LAYOUT & TYPOGRAPHY
   ========================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

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

.text-white {
    color: var(--color-white) !important;
}

.mt-50 {
    margin-top: 50px;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-heading);
    display: inline-block;
    letter-spacing: -0.5px;
}

.divider {
    height: 2px;
    width: 70px;
    background-color: var(--color-tan);
    margin: 15px auto 20px;
}

.divider-light {
    background-color: var(--color-white);
}

.about-desc {
    color: var(--color-tan);
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 500;
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-rose);
    color: var(--color-white);
    box-shadow: 0 6px 15px rgba(183, 127, 126, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-tan);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(181, 154, 124, 0.4);
}

.w-100 {
    width: 100%;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* =========================================================================
   HEADER & NAV
   ========================================================================= */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
    background-color: var(--color-rose);
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 12px 0;
    background-color: rgba(183, 127, 126, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--color-beige);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transition: var(--transition);
}

.social-circle:hover {
    background-color: var(--color-white);
    color: var(--color-rose);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-image: url('../assets/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 130px; /* offset for header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--color-white);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 45px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

.hero .btn-primary {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 50px; /* Botão em formato de pílula para CTA principal */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(183, 127, 126, 0.5);
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* =========================================================================
   ABOUT (A VIBES MKT & QUEM É REBECA)
   ========================================================================= */
.about {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.about-text {
    color: var(--color-tan);
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
}

.about-image {
    text-align: center;
    position: relative;
    padding: 15px; /* space for behind element */
}

.about-image::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 0px;
    width: 55%;
    height: 60%;
    background-color: var(--color-tan);
    opacity: 0.15;
    border-radius: 8px;
    z-index: 0;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 45%;
    height: 45%;
    background-color: var(--color-rose);
    opacity: 0.15;
    border-radius: 8px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services {
    background-color: var(--color-rose);
    color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: rgba(255, 233, 186, 0.1);
    border-radius: 20px;
    color: var(--color-beige);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-beige);
    color: var(--color-rose);
    transform: scale(1.05);
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    font-weight: 400;
}

/* =========================================================================
   BENEFITS
   ========================================================================= */
.benefits {
    background-color: #FCFAFA; /* Off-white that complements the rose theme */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(183, 127, 126, 0.15); /* Soft rose shadow */
    border-color: rgba(183, 127, 126, 0.2);
}

.check-icon {
    color: var(--color-white);
    background-color: var(--color-tan);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    padding: 12px;
    border-radius: 50%;
    box-sizing: content-box;
    box-shadow: 0 8px 15px rgba(181, 154, 124, 0.25);
    transition: var(--transition);
}

.benefit-item:hover .check-icon {
    transform: scale(1.1);
    background-color: var(--color-rose);
}

.benefit-item h3 {
    font-size: 1.35rem;
    color: var(--color-tan);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.benefit-item:hover h3 {
    color: var(--color-rose);
}

.benefit-item p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact {
    background-color: var(--color-contact-bg);
    margin-bottom: 50px; /* distanciando do footer */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form-wrapper {
    padding: 20px 0 80px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-tan);
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-rose);
    box-shadow: 0 6px 20px rgba(183, 127, 126, 0.15);
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--color-tan);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--color-rose);
    width: 18px;
    height: 18px;
}

.form-status {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 1.4em;
    text-align: center;
}

.form-status.is-success {
    color: #2e7d32;
}

.form-status.is-error {
    color: #c62828;
}

.contact-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--color-rose);
    padding: 70px 0 20px 0;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 55px;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--color-beige);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-rose);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 15px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .services-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}
