/* === Reset & Variáveis Globais === */
:root {
    --orange: #FD6D04;
    --yellow: #FDB004;
    --beige: #FFEDAF;
    --white: #F8F8F8;
    --dark: #1a1a1a;
    --text: #2c2c2c;
    --text-light: #666;
    --fonte-principal: 'Plus Jakarta Sans', sans-serif;
    --transicao: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: var(--fonte-principal);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.8;
    font-weight: 400;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

h2.section-title {
    font-family: var(--fonte-principal);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

p.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
    color: var(--text-light);
    font-size: 1rem;
}

/* === Header Fixo & Menu Mobile === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.main-header.visible {
    opacity: 1;
    visibility: visible;
}

.main-header.scrolled {
    background-color: rgba(26, 26, 26, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    visibility: visible;
}

.main-header .nav-menu a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header .nav-menu a:hover,
.main-header .nav-menu a.active {
    color: var(--yellow);
    border-bottom-color: var(--yellow);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin: 0 30px;
}

.nav-menu a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transicao);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled .nav-menu a {
    text-shadow: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--yellow);
    border-bottom-color: var(--yellow);
}

.hamburger-menu {
    display: none;
}

/* === Seção Herói === */
.hero {
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-color: #000;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    object-position: center;
    filter: blur(4px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(253, 109, 4, 0.15) 0%,
        rgba(253, 109, 4, 0.25) 50%,
        rgba(253, 109, 4, 0.35) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    opacity: 0;
    animation: fadeIn 1.5s forwards 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-logo {
    max-width: 400px;
    width: 90%;
    height: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transicao);
    box-shadow: 0 8px 25px rgba(253, 109, 4, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(253, 109, 4, 0.5);
}

.btn-primary i {
    font-size: 1.1rem;
}

/* === Seção de Boas-Vindas === */
.welcome-section {
    background-color: var(--white);
    color: var(--text);
}

.welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.welcome-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.welcome-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* === Seção de Serviços === */
.services-section {
    background-image: url('https://fisiocarepet.com.br/wp-content/uploads/2020/12/dicas-cachorros-ferias.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(253, 109, 4, 0.7) 0%, rgba(253, 176, 4, 0.75) 100%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.services-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transicao);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 26px;
    padding: 3px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 50px rgba(253, 109, 4, 0.4);
    background: rgba(255, 255, 255, 1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 24px 24px 0 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 50%;
    height: auto;
    object-fit: contain;
    transition: var(--transicao);
}

.service-item:hover .service-img {
    transform: scale(1.1);
}

.service-item h3,
.service-item p {
    padding: 0 35px;
    position: relative;
    z-index: 2;
}

.service-item h3 {
    padding-top: 15px;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-item p {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    padding-bottom: 35px;
}

/* === Seção Depoimentos === */
.testimonials-section {
    background: linear-gradient(160deg, rgba(253, 109, 4, 0.1), rgba(253, 176, 4, 0.05));
}

.testimonials-section .section-subtitle {
    color: var(--text-light);
}

.testimonial-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonial-slider {
    display: flex;
    cursor: grab;
    user-select: none;
    will-change: transform;
    animation: scroll 120s linear infinite;
    width: fit-content;
}

.testimonial-slider:hover {
    animation-play-state: paused;
}

.testimonial-slider:active {
    cursor: grabbing;
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-480px * 8));
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 450px;
    margin-right: 30px;
    background: linear-gradient(135deg, rgba(253, 109, 4, 0.1), rgba(253, 176, 4, 0.05));
    border: 1px solid rgba(253, 109, 4, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.testimonial-card blockquote {
    flex-grow: 1;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text);
}

.testimonial-card cite {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: var(--orange);
    font-style: normal;
}

/* === Seção de Contato === */
.contact-section {
    padding: 0;
    overflow: hidden;
    background-color: var(--white);
    margin: 0;
    border: none;
}

.contact-section .container {
    padding: 0;
    max-width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    border: none;
    outline: none;
}

.contact-details-wrapper {
    background-color: var(--dark);
    background-image: url('https://images.unsplash.com/photo-1601758228041-f3b2795255f1?q=80&w=2070&auto=format&fit=crop'),
        linear-gradient(rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.92));
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    padding: 60px 50px;
    color: white;
    border: none;
    outline: none;
}

.contact-details-wrapper h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--yellow);
}

.contact-details-wrapper p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-details li span {
    line-height: 1.6;
}

.contact-details i {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-right: 12px;
    width: 18px;
    text-align: center;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: var(--transicao);
    font-size: 0.9rem;
}

.contact-details a:hover {
    color: var(--yellow);
}

.contact-map-wrapper {
    background-color: var(--white);
    padding: 0;
    border: none;
    outline: none;
    height: 100%;
    min-height: 500px;
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.map-open-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 11;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(253, 109, 4, 0.4);
    transition: var(--transicao);
}

.map-open-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 109, 4, 0.5);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--fonte-principal);
    font-size: 0.95rem;
    transition: var(--transicao);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: white;
}


.btn-submit {
    background-image: linear-gradient(135deg, var(--orange), var(--yellow));
    color: #fff;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transicao);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 109, 4, 0.4);
}

/* === Seção CTA Final === */
.cta-section {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
    position: relative;
    overflow: visible;
    padding: 60px 0 0 0;
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 350px;
}

.cta-content {
    text-align: left;
    position: relative;
    z-index: 2;
    align-self: center;
    padding-bottom: 60px;
}

.cta-image-wrapper {
    width: 100%;
    height: 400px;
    background-image: url('https://res.cloudinary.com/dobo2yvgz/image/upload/v1769436163/_image_hwxz3v.webp');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    align-self: flex-end;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.cta-section .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-align: left;
    margin-bottom: 20px;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
    margin-bottom: 30px;
}

.btn-subscribe {
    background: transparent;
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transicao);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid white;
    box-shadow: none;
}

.btn-subscribe:hover {
    background-color: white;
    color: var(--orange);
    transform: translateY(-3px);
}

/* === Rodapé === */
.main-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 0;
    font-size: 0.8rem;
    text-align: center;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(253, 109, 4, 0.3), transparent);
}

.footer-bottom {
    padding: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* === RESPONSIVIDADE === */
@media (max-width: 992px) {
    .welcome-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0;
    }
    
    .contact-grid,
    .cta-layout {
        grid-template-columns: 1fr;
    }

    .welcome-image-wrapper {
        order: -1;
    }

    .contact-details-wrapper,
    .contact-form-wrapper {
        padding: 50px 40px;
    }

    .testimonial-card {
        width: 350px;
    }

    .cta-layout {
        align-items: flex-end;
        min-height: auto;
    }

    .cta-content {
        text-align: center;
        padding-bottom: 30px;
    }

    .cta-section .section-title,
    .cta-section .section-subtitle {
        text-align: center;
    }

    .cta-image-wrapper {
        min-height: 300px;
        height: 300px;
        background-position: center bottom;
        align-self: flex-end;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h2.section-title {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .main-header .container.navbar {
        justify-content: flex-end;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        padding: 40px;
        border-left: 2px solid rgba(253, 176, 4, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        color: white;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--beige);
        border-bottom-color: var(--beige);
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .hamburger-menu .line {
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }

    .hamburger-menu.active .line1 {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .line2 {
        opacity: 0;
    }

    .hamburger-menu.active .line3 {
        transform: translateY(-11px) rotate(-45deg);
    }

    .hero-logo {
        max-width: 250px;
    }

    .testimonial-card {
        width: 300px;
        padding: 30px;
    }

    .contact-details-wrapper {
        padding: 40px 30px;
    }

    .contact-map-wrapper {
        padding: 0;
        min-height: 350px;
    }
    
    .contact-section {
        padding: 0;
    }

    .map-container {
        min-height: 350px;
    }

    .map-image {
        min-height: 350px;
    }

    .cta-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        align-items: flex-end;
        min-height: auto;
    }

    .cta-content {
        text-align: center;
        padding-bottom: 30px;
    }

    .cta-section .section-title,
    .cta-section .section-subtitle {
        text-align: center;
    }

    .cta-image-wrapper {
        min-height: 300px;
        height: 300px;
        background-position: center bottom;
        align-self: flex-end;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
}
