/* ============================================
   GERLEN MASCARENHAS - FISIOTERAPIA
   Professional Stylesheet
   ============================================ */

@import url('normalize.css');
@import url('colors.css');

/* ============================================
   1. GLOBAL STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    font-family: 'Quicksand', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    padding-top: 5rem;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    max-width: 100vw;
    /* font-family: 'Quicksand', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    padding-top: 5rem;
    line-height: 1.6;
    color: var(--color-text); */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
}

/* Animation Base Styles */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1), 
                transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }
.stagger-delay-6 { transition-delay: 0.6s; }

/* ============================================
   2. HEADER & NAVIGATION
   ============================================ */

#site-header {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: rgba(245, 237, 224, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

#site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

#site-header a:focus {
    outline: 3px solid rgba(28, 103, 88, 0.15);
    outline-offset: 3px;
}

.header-logo {
    height: auto;
    width: clamp(180px, 40vw, 380px);
    max-width: 100%;
    object-fit: contain;
}

/* ============================================
   3. HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../../assets/images/banner-hero-background.png') center/cover no-repeat;
    padding: 3rem 1rem 100px;
    box-sizing: border-box;
    color: #fff;
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-left {
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    max-width: 90%;
    margin-bottom: 1.5rem;
    color: var(--color-background-branco);
    position: relative;
    z-index: 3;
}

.hero-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--color-dourado), #b8944a);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(210, 169, 86, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
    will-change: transform;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 3;
    animation: cta-pulse 3s ease-in-out infinite;
}

.hero-anchor::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-anchor:hover::before {
    left: 100%;
}

.hero-anchor:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(210, 169, 86, 0.45), 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: none;
}

.hero-anchor:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(210, 169, 86, 0.3), 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-anchor svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-transparent {
    background: var(--color-verde-principal);
    width: 100%;
    height: 100vh;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    z-index: 0;
}

.hero-logo {
    position: absolute;
    top: 15vh;
    left: 40vw;
    width: 20vw;
    height: 20vh;
    background: url('../../assets/images/logo-simbolo.png') center/contain no-repeat;
    z-index: 4;
}

.hero-gerlen {
    width: auto;
    height: 130vh;
    object-fit: contain;
    display: block;
    margin-left: auto;
    transform: translateY(24px);
    align-items: end;
    opacity: 0;
    transition: transform 700ms cubic-bezier(.2,.9,.2,1), opacity 700ms ease;
    will-change: transform, opacity;
    position: absolute;
    top:-7%;
    right: 10%;
    bottom: 0;
    z-index: 2;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    max-width: none;
    height: 120px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: none;
    z-index: 3;
}

.wave1 {
    animation: moove 10s linear infinite;
    opacity: .8;
}

.wave2 {
    animation: moove 18s linear infinite;
    opacity: .6;
}

.hero-animate .hero-gerlen {
    transform: translateY(0);
    opacity: 1;
}

@keyframes cta-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(210, 169, 86, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 10px 28px rgba(210, 169, 86, 0.4), 0 5px 14px rgba(0, 0, 0, 0.18);
    }
}

/* ============================================
   4. DORES SECTION
   ============================================ */

.dores {
    background: var(--color-background-branco);
    padding: 3rem 1rem 8rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.dores .card {
    background: var(--color-background);
}

.dores h2 {
    padding-top: 0;
    margin-top: 0;
    color: var(--color-bege-secondary);
}

.dores p.text-lg {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.dores-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.dores-card:nth-child(1) { transition-delay: 0.6s; }
.dores-card:nth-child(2) { transition-delay: 0.8s; }
.dores-card:nth-child(3) { transition-delay: 1.0s; }
.dores-card:nth-child(4) { transition-delay: 1.2s; }
.dores-card:nth-child(5) { transition-delay: 1.4s; }

.dores-title,
.dores-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.dores-title { transition-delay: 0.2s; }
.dores-subtitle { transition-delay: 0.4s; }

.dores-title.animate,
.dores-subtitle.animate,
.dores-card.animate {
    opacity: 1;
    transform: translateY(0);
}

#dores .bg-emerald-50 {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#dores .bg-emerald-50:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   5. CHAMADA-DORES SECTION
   ============================================ */

.chamada-dores {
    background: var(--color-bege-secondary);
    color: inherit;
    display: block;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.chamada-box {
    width: 100%;
    max-width: min(100%, 1200px);
    padding: 2.5rem 1.5rem;
    margin: 0 auto;
    background-color: var(--color-bege-secondary);
    box-shadow: 0 16px 40px rgba(63, 112, 82, 0.18);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.chamada-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.chamada-paragraph {
    z-index: 1;
    flex: 1 1 auto;
}

.chamada-action {
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
}

.chamada-heading {
    margin: 0;
    color: var(--color-background-branco);
    font-family: 'Quicksand', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    line-height: 1.15;
    z-index: 1;
}

.chamada-heading .chamada-gradient {
    color: var(--color-background-branco);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

.chamada-lead,
.chamada-subtitle {
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.95);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.45;
}

.chamada-box::before,
.chamada-box::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.chamada-box::before {
    left: 6%;
    background: linear-gradient(180deg, rgba(210,169,86,1), rgba(210,169,86,0.85));
    transform: rotate(-12deg);
    transform-origin: top left;
}

.chamada-box::after {
    right: 26%;
    height: 200%;
    background: linear-gradient(180deg, rgba(245,239,230,0.95), rgba(245,239,230,0.8));
    transform: rotate(50deg);
    transform-origin: top right;
}

.chamada-box .chamada-brilho {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 220px at 80% -10%, rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.chamada-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-verde-principal);
    background: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.chamada-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 112, 82, 0.1), transparent);
    transition: left 0.5s ease;
}

.chamada-cta:hover::before {
    left: 100%;
}

.chamada-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #2e5a40;
}

.chamada-cta:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.chamada-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================
   6. ABOUT SECTION
   ============================================ */

.about {
    padding: 50px 1rem;
    background: var(--color-background-branco);
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 80vh;
    align-items: center;
    box-sizing: border-box;
    color: var(--color-text);
    overflow: hidden;
    padding-top: 8rem;
}

.about h2 {
    margin-top: 0;
    color: var(--color-bege-secondary);
}

.about p {
    color: #555;
    line-height: 1.6;
}

.about .wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   7. MOSAIC SECTION
   ============================================ */

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 240px 220px;
    grid-template-areas: "a1 b12" "a23 b12" "a23 b3";
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mosaic-item.a1 { grid-area: a1; }
.mosaic-item.a23 { grid-area: a23; }
.mosaic-item.b12 { grid-area: b12; }
.mosaic-item.b3 { grid-area: b3; }

.mosaic-item.a1 img {
    transform: scale(2.5) translateY(20%);
    transform-origin: center center;
    transition: transform 250ms ease;
    filter: grayscale(100%);
}

.mosaic-item.a23 img {
    transform: scale(1.1) translateY(-4%);
    transform-origin: center center;
    transition: transform 250ms ease;
    filter: grayscale(100%);
}

.mosaic-item.b12 img {
    transform: scale(1.2) translateX(2%) translateY(-4%);
    transform-origin: center center;
    transition: transform 250ms ease;
    filter: grayscale(100%);
}

.mosaic-item.b3 img {
    transform: scale(1.1);
    object-position: 50% 16%;
    transform-origin: center top;
    transition: transform 250ms ease;
    filter: grayscale(100%);
}

.mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    pointer-events: none;
}

/* ============================================
   8. SERVICES SECTION
   ============================================ */

.services-section {
    background: var(--color-background);
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.service-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-verde-principal), var(--color-dourado));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(63, 112, 82, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-verde-principal), #4b8160);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, var(--color-dourado), #b8944a);
}

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

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-verde-principal);
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.service-description {
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   9. TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: var(--color-bege-secondary);
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.testimonial-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-verde-principal), #4b8160);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(63, 112, 82, 0.3);
}

.testimonial-quote svg {
    width: 24px;
    height: 24px;
}

.testimonial-text {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 2rem 0 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-dourado), #b8944a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    color: var(--color-verde-principal);
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.author-info p {
    color: var(--color-text);
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.testimonials-scroll-hint {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(63, 112, 82, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    animation: swipe-hint 2s ease-in-out infinite;
}

@keyframes swipe-hint {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   10. INSTAGRAM SECTION
   ============================================ */

.instagram-section {
    background: var(--color-background);
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
}

.instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(193, 53, 132, 0.3);
    transition: all 0.3s ease;
}

.instagram-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(193, 53, 132, 0.4);
    background: linear-gradient(135deg, #C13584, #833AB4);
}

.instagram-cta svg {
    width: 24px;
    height: 24px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay svg {
    width: 48px;
    height: 48px;
    color: #ffffff;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

/* ============================================
   11. CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--color-background-branco);
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding: 4rem 1rem;
    overflow-x: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    background: linear-gradient(135deg, var(--color-verde-principal), #2e5a40);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(63, 112, 82, 0.25);
    width: 100%;
    max-width: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.contact-method-text h4 {
    font-weight: 600;
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.contact-method-text p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--color-verde-principal);
    font-size: 0.95rem;
}

.form-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-verde-principal);
    box-shadow: 0 0 0 3px rgba(63, 112, 82, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-verde-principal), #4b8160);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(63, 112, 82, 0.3);
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(63, 112, 82, 0.4);
    background: linear-gradient(135deg, #4b8160, var(--color-verde-principal));
}

.form-submit-btn:active {
    transform: translateY(-1px);
}

.form-submit-btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   12. FOOTER SECTION
   ============================================ */

.footer-section {
    background: linear-gradient(135deg, var(--color-verde-principal), #2e5a40);
    color: #ffffff;
    padding: 4rem 1rem 2rem;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    height: auto;
    width: 100%;
    max-width: 180px;
    filter: brightness(0) invert(1);
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: left;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--color-dourado);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: var(--color-dourado);
    font-family: 'Quicksand', sans-serif;
}

.contato {
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-dourado);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-dourado);
    margin-top: 2px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.developer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-link:hover {
    transform: translateY(-2px);
}

.developer-logo {
    height: 28px;
    max-width: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* ============================================
   13. WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background-color: var(--color-verde-principal);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(63, 112, 82, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 29px;
    height: 29px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(63, 112, 82, 0.5);
    background-color: #35624a;
    animation: none;
}

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

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(63, 112, 82, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(63, 112, 82, 0.5);
    }
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */

.text-emerald {
    color: var(--color-verde-principal);
}

.bg-emerald {
    background-color: var(--color-verde-principal);
}

/* ============================================
   15. RESPONSIVE MEDIA QUERIES
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        min-height: 90vh;
        height: auto;
        padding: 3rem 1rem 80px;
    }

    .hero-inner {
        padding: 0 1.5rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-section {
        padding-bottom: 6rem;
    }

    .whatsapp-float {
        bottom: 64px;
    }
}

@media (min-width: 1025px) and (max-width: 1600px) {
    .whatsapp-float {
        bottom: 64px;
    }
}

@media (max-width: 820px) {
    body {
        padding-top: 4rem;
    }

    #site-header .max-w-6xl {
        padding: 0.5rem 1rem;
    }

    .header-logo {
        width: 80%;
        max-width: 400px;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 1rem 60px;
    }

    .hero-logo {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1rem 0;
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .hero-gerlen {
        position: static;
        height: 60vh;
        margin: 2rem auto 0;
        transform: translateY(0);
        opacity: 1;
    }

    .chamada-box {
        padding: 2.5rem 1.5rem;
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .chamada-grid {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .chamada-action {
        justify-content: center;
        width: 100%;
    }

    .chamada-cta {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: "a1" "a23" "b12" "b3";
        gap: 1rem;
        padding: 0;
    }

    .mosaic-item {
        border-radius: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .testimonials-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding: 1rem 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 90vw;
        scroll-snap-align: center;
    }

    .testimonials-scroll-hint {
        display: block;
    }

    .chamada-grid {
        grid-template-columns: 1fr;
        text-align: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    .chamada-action {
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .chamada-box::before,
    .chamada-box::after {
        left: 50%;
        right: 50%;
        transform: rotate(0deg);
        height: 40%;
        opacity: 0.6;
    }

    .chamada-cta {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
        padding: 0.875rem 1.75rem;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 0;
    }
    .header-logo {
        width: 70%;
        max-width: 400px;
    }
    
    /* Hero Section - Reordenação Mobile */
    .hero {
        padding: 0;
        min-height: 100vh;
        margin-top: 0;

    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
        height: 100vh;
        position: relative;
    }

    /* Ocultar título e subtítulo no mobile */
    /* .hero-title,
    .hero-subtitle {
        display: none;
    } */
    .hero-left {
        position: absolute;
        inset: 0;
        padding-top: 21%;
    }
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.0rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.1;
        margin-top: 0;
        padding: 0.5rem 2rem;
    }

    /* Hero Gerlen - Largura total e maior destaque */
    .hero-right {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .hero-gerlen {
        position: relative;
        width: 100%;
        height: 100%;
        max-height: 84vh;
        object-fit: cover;
        object-position: center top;
        margin: 0;
        transform: none;
        opacity: 1;
    }

    /* Botão CTA flutuante sobre a imagem - CORRIGIDO */
    .hero-anchor {
        display: flex;
        position: absolute;
        justify-content: center;
        align-items: center;
        bottom: 20%;
        left: 12vw;
        /* transform: translateX(-50%); */
        z-index: 10;
        margin: 0;
        width: calc(100% - 3rem);
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1rem;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(210, 169, 86, 0.4);
        will-change: transform;
    }

    .hero-anchor:hover {
        transform: translateX(0%) translateY(-4px);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(210, 169, 86, 0.5);
    }

    .hero-anchor:active {
        transform: translateX(0%) translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(210, 169, 86, 0.4);
    }

    /* Ajustar overlay para não cobrir muito a imagem */
    .hero-transparent {
        opacity: 0.3;
    }

    /* Remover animação da imagem no mobile (já está visível) */
    .hero-animate .hero-gerlen {
        transform: none;
        opacity: 1;
    }

    .chamada-box {
        border-radius: 20px;
        padding: 2.5rem 1.5rem;
    }

    .chamada-dores {
        padding: 3.5rem 0.75rem;
    }

    .chamada-cta {
        max-width: 280px;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    /* Oculta os 3 primeiros mosaicos no mobile */
    .mosaic-grid .mosaic-item:nth-child(-n+3) {
        display: none;
    }

    /* Transforma o b3 em círculo perfeito com foco no rosto */
    .mosaic-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
    }

    .mosaic-grid .mosaic-item:nth-child(4) {
        width: 280px;
        height: 280px;
        max-width: 90vw;
        max-height: 90vw;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mosaic-grid .mosaic-item:nth-child(4) img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
        transform: scale(1.6);
        filter: grayscale(100%);
    }

    .services-section {
        padding: 3rem 0.75rem;
    }

    .services-grid {
        padding: 0;
    }

    .service-card {
        padding: 2rem 1.25rem;
    }

    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonials-grid {
        padding: 1rem 0.75rem;
    }

    .testimonial-card {
        min-width: 260px;
        max-width: 85vw;
        padding: 2rem 1.25rem;
    }

    .instagram-section {
        padding: 3rem 0.75rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0;
    }

    .contact-section {
        padding: 3rem 0.75rem;
    }

    .contact-wrapper {
        padding: 0;
        gap: 2rem;
        max-width: 100%;
    }

    .contact-info {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }

    .contact-form-wrapper {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }

    .contact-info-title {
        font-size: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-method-text h4 {
        font-size: 0.95rem;
    }

    .contact-method-text p {
        font-size: 0.85rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .form-submit-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-section {
        padding: 3rem 0.75rem 2rem;
    }

    .footer-container {
        padding: 0 0.75rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo {
        width: 296px;
        max-width: 300px;
        margin-bottom: 0.3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        display: none;
    }

    .hero-inner {
        padding: 5rem 0.5rem 0;
    }

    .chamada-box {
        padding: 1.75rem 1rem;
    }

    .services-section,
    .testimonials-section,
    .instagram-section,
    .contact-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .footer-section {
        padding: 2.5rem 0.5rem 1.5rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}
