/* ===== Reset e Variáveis ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #B22E2E;
    --primary-gradient: linear-gradient(135deg, #B22E2E 0%, #7D1F3A 100%);
    --text-color: #333;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --transition: all 0.3s ease;
}

body {
    font-family: "optima-nova-lt-pro", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 35px;
    flex: 1;
    justify-content: space-around;
}

.nav-center {
    flex: 0 0 auto;
    margin: 0 40px;
}

.nav-link {
    font-family: "optima-nova-lt-pro", sans-serif;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link:hover::after {
    width: 100%;
}

.logo {
    display: block;
    transition: var(--transition);
}

/* .logo:hover {
    transform: scale(1.05);
} */

.logo-img {
    height: 50px;
    width: auto;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    shape-rendering: auto;
    -webkit-print-color-adjust: exact;
    color-interpolation: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.scrolled .logo-img {
    opacity: 1;
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

/* Otimização para telas Retina (iPhone) */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .logo-img {
        image-rendering: auto;
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
    }
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-family: "optima-nova-lt-pro", sans-serif;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--light-gray);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 660px;
    max-height: 660px;
    margin-top: 58px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/* Slides com imagens 100% */
.slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

/* Controles do Slider */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Indicadores */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(178, 46, 46, 0.7);
}

/* Animações */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsividade ===== */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-left,
    .nav-right {
        gap: 20px;
    }

    .nav-center {
        margin: 0 20px;
    }

    .hero-slider {
        height: 500px;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-center {
        margin: 0 auto;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        height: 70px;
        width: auto;
        max-width: none;
        image-rendering: auto;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        shape-rendering: auto;
        -webkit-print-color-adjust: exact;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
    }

    .hero-slider {
        height: 400px;
        max-height: 400px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }
}

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

    .logo-mobile {
        display: block;
    }

    .hero-slider {
        height: 300px;
        max-height: 300px;
    }
}

/* ===== Casting Section ===== */
.casting-section {
    padding: 0px 0 80px;
    background: var(--white);
}

.casting-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.casting-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.casting-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.casting-slider {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    overflow-x: visible;
    will-change: transform;
}

.casting-card {
    display: flex;
    flex-direction: column;
    min-width: calc(25% - 15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.casting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.casting-image {
    flex-shrink: 0;
    display: block;
    width: 100%;
    padding-top: 125%;
    position: relative;
    overflow: hidden;
}

.casting-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casting-info {
    flex: 1;
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    padding: 25px 20px;
    text-align: center;
    color: var(--white);
}

.casting-name a {
    color: inherit;
    text-decoration: none;
}

.casting-name a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.casting-card a:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.casting-name {
    font-family: "ivypresto-display", serif;
    font-size: 1.3rem;
    font-weight: 100;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.casting-username {
    overflow-wrap: anywhere;
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.95;
}

.casting-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.casting-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Setas de navegação */
.casting-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.casting-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.casting-prev {
    left: 0;
}

.casting-next {
    right: 0;
}

.casting-action {
    text-align: center;
    margin-top: 60px;
}

.btn-casting {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 12px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    color: #fff;
    text-decoration: none;
}

.btn-casting:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 46, 46, 0.4);
}

.btn-casting:active {
    transform: translateY(0);
}

/* Responsividade Casting */
@media (max-width: 1200px) {
    .casting-card {
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .casting-container {
        padding: 0 20px;
    }

    .casting-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .casting-slider-wrapper {
        padding: 0 50px;
    }

    .casting-card {
        min-width: calc(50% - 10px);
    }

    .casting-arrow {
        width: 40px;
        height: 40px;
    }

    .casting-action {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .casting-section {
        padding: 60px 0;
    }

    .casting-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .casting-slider-wrapper {
        padding: 0 40px;
    }

    .casting-card {
        min-width: 100%;
    }

    .casting-slider {
        gap: 15px;
    }

    .casting-name {
        font-size: 1.1rem;
    }

    .casting-username {
        font-size: 0.9rem;
    }

    .casting-stats {
        font-size: 0.85rem;
        gap: 15px;
    }

    .btn-casting {
        font-size: 16px;
        padding: 10px 30px;
    }
}

/* ===== O Que Fazemos Section ===== */
.oque-fazemos-section {
    padding: 0px 0 80px;
    background: var(--white);
    overflow: hidden;
}

.oque-fazemos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.oque-fazemos-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.oque-fazemos-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 60px;
}

.tab-btn {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 16px;
    font-weight: 300;
    padding: 15px 40px;
    background: transparent;
    border: .5px solid #C80815;
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #C80815 0%, #66023C 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    left: 0;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 46, 46, 0.3);
}

.tab-content {
    display: none;
    opacity: 0;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.content-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards 0.2s;
}

.service-card {
    margin-bottom: 30px;
}

.service-icon {
    margin-bottom: 25px;
    animation: bounce 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.service-icon img {
    max-width: 60px;
    max-height: 60px;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.service-title {
    font-family: "ivypresto-display", serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-text {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.btn-saiba-mais {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-saiba-mais span {
    transition: transform 0.3s ease;
}

.btn-saiba-mais:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.btn-saiba-mais:hover span {
    transform: translateX(5px);
}

/* Right Content - Circle */
.content-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards 0.4s;
    overflow: visible;
}

.services-circle {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px dashed #E0E0E0;
    border-radius: 50%;
    animation: rotateCircle 20s linear infinite;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s ease;
    z-index: 5;
}

.center-icon img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.center-icon svg {
    width: 40px;
    height: 40px;
}

.service-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInItem 0.6s ease forwards;
    cursor: pointer;
    user-select: none;
}

/* Posicionamento circular perfeito dos ícones - 5 posições a 72° de distância */
.service-item[data-position="top"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(0, -220px);
    animation-delay: 0.6s;
}

.service-item[data-position="right-top"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(72deg) translate(0, -220px) rotate(-72deg);
    animation-delay: 0.8s;
}

.service-item[data-position="right-bottom"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(144deg) translate(0, -220px) rotate(-144deg);
    animation-delay: 1s;
}

.service-item[data-position="bottom"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(216deg) translate(0, -220px) rotate(-216deg);
    animation-delay: 1.2s;
}

.service-item[data-position="left"] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(288deg) translate(0, -220px) rotate(-288deg);
    animation-delay: 1.4s;
}

.service-icon-small {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 3px solid #E0E0E0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.service-icon-small:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(178, 46, 46, 0.2);
}

.service-icon-small.active {
    border-color: var(--primary-color);
    border-width: 4px;
    box-shadow: 0 8px 25px rgba(178, 46, 46, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.service-icon-small img {
    max-width: 35px;
    max-height: 35px;
}

.service-label {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInItem {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes rotateCircle {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsividade O Que Fazemos */
@media (max-width: 800px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-circle {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .oque-fazemos-container {
        padding: 0 20px;
    }

    .oque-fazemos-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .oque-fazemos-tabs {
        flex-direction: column;
        gap: 15px;
    }

    .tab-btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .services-circle {
        width: 350px;
        height: 350px;
    }

    .service-icon-small {
        width: 60px;
        height: 60px;
    }

    .service-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .oque-fazemos-section {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .oque-fazemos-container {
        overflow: visible;
    }

    .oque-fazemos-title {
        font-size: 1.8rem;
    }

    .content-grid {
        overflow: visible;
    }

    .content-right {
        overflow: visible;
        padding: 40px 0;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-text {
        font-size: 0.9rem;
        text-align: left;
    }

    .services-circle {
        width: 280px;
        height: 280px;
        overflow: visible;
    }

    .service-item[data-position="top"] {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translate(0, -180px);
    }
    
    .service-item[data-position="right-top"] {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(72deg) translate(0, -180px) rotate(-72deg);
    }
    
    .service-item[data-position="right-bottom"] {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(144deg) translate(0, -180px) rotate(-144deg);
    }
    
    .service-item[data-position="bottom"] {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(216deg) translate(0, -180px) rotate(-216deg);
    }
    
    .service-item[data-position="left"] {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(288deg) translate(0, -180px) rotate(-288deg);
    }

    .service-icon-small {
        width: 45px;
        height: 45px;
    }

    .service-icon-small img {
        max-width: 22px;
        max-height: 22px;
    }

    .circle-center {
        width: 100px;
        height: 100px;
    }

    .center-icon {
        width: 50px;
        height: 50px;
    }

    .center-icon img {
        max-width: 30px;
        max-height: 30px;
    }

    .service-label {
        font-size: 0.7rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    padding: 60px 0 0;
    border-top: 1px solid #E0E0E0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-brand {
    gap: 20px;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-address {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
}

.footer-title {
    font-family: "ivypresto-display", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact span {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
}

.footer-contact a {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(178, 46, 46, 0.2);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid #E0E0E0;
    text-align: center;
}

.footer-bottom p {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-color);
}

/* Responsividade Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* ===== Diferenciais Section ===== */
.diferenciais-section {
    padding: 0px 0 80px;
    background: var(--white);
}

.diferenciais-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.diferenciais-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.diferencial-card {
    background: var(--white);
    border: none;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(178, 46, 46, 0.15);
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 4px;
    background: linear-gradient(135deg, #B22E2E 0%, #6a1b3d 50%, #4a0d25 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(74, 13, 37, 0.3));
}

.diferencial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(178, 46, 46, 0.2);
}

.diferencial-card-large {
    padding: 50px 40px;
    background: var(--white);
    border: none;
    position: relative;
    background-clip: padding-box;
    box-shadow: 0 8px 20px rgba(178, 46, 46, 0.15);
}

.diferencial-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 4px;
    background: linear-gradient(135deg, #B22E2E 0%, #6a1b3d 50%, #4a0d25 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(74, 13, 37, 0.3));
}

.diferencial-icon {
    margin-bottom: 20px;
}

.diferencial-icon svg {
    width: 40px;
    height: 40px;
}

.diferencial-title {
    font-family: "ivypresto-display", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.diferencial-card-large .diferencial-title {
    font-size: 1.7rem;
}

.diferencial-text {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-color);
    text-align: center;
}

.diferencial-card-large .diferencial-text {
    font-size: 1.05rem;
}

/* Responsividade Diferenciais */
@media (max-width: 1200px) {
    .diferenciais-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .diferencial-card {
        padding: 35px 30px;
    }

    .diferencial-card-large {
        padding: 40px 35px;
    }
}

@media (max-width: 768px) {
    .diferenciais-container {
        padding: 0 20px;
    }

    .diferenciais-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .diferencial-card {
        padding: 30px 25px;
    }

    .diferencial-title {
        font-size: 1.3rem;
    }

    .diferencial-card-large .diferencial-title {
        font-size: 1.5rem;
    }

    .diferencial-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .diferenciais-section {
        padding: 60px 0;
    }

    .diferenciais-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .diferencial-card {
        padding: 25px 20px;
    }

    .diferencial-card-large {
        padding: 30px 25px;
    }

    .diferencial-title {
        font-size: 1.2rem;
    }

    .diferencial-card-large .diferencial-title {
        font-size: 1.3rem;
    }

    .diferencial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===== Quem Somos Section ===== */
.quem-somos-section {
    padding: 0px 0 80px;
    background: var(--white);
}

.quem-somos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.quem-somos-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.quem-somos-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.quem-somos-text {
    flex: 1;
}

.quem-somos-text p {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #3333339e;
    text-align: justify;
    margin-bottom: 25px;
}

.quem-somos-text p:last-child {
    margin-bottom: 0;
}

.quem-somos-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* Responsividade Quem Somos */
@media (max-width: 1024px) {
    .quem-somos-content {
        gap: 60px;
    }

    .quem-somos-text p {
        font-size: 1rem;
    }

    .phone-mockup {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .quem-somos-container {
        padding: 0 20px;
    }

    .quem-somos-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .quem-somos-content {
        flex-direction: column;
        gap: 40px;
    }

    .quem-somos-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }

    .phone-mockup {
        max-height: 450px;
    }
}

@media (max-width: 480px) {
    .quem-somos-section {
        padding: 60px 0;
    }

    .quem-somos-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .quem-somos-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .phone-mockup {
        max-height: 400px;
    }
}

/* ===== Brands Section ===== */
.brands-section {
    padding: 0px 0 80px;
    background: var(--white);
    overflow: hidden;
}

.brands-container {
    width: 100%;
}

.brands-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.brands-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.brands-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brands-track {
    --brand-gap: 20px;
    display: flex;
    gap: 0;
    animation: scrollLeft 30s linear infinite;
    width: fit-content;
}

/* Duas cópias de mesma largura: -50% coincide exatamente com o começo da cópia. */
.brands-group {
    display: flex;
    flex-shrink: 0;
    gap: var(--brand-gap);
    padding-right: var(--brand-gap);
}

.brands-track-reverse {
    animation: scrollRight 30s linear infinite;
}

/* Pausa animação no hover */
.brands-track:hover {
    animation-play-state: paused;
}

.brand-card {
    flex: 0 0 200px;
    min-width: 200px;
    height: 120px;
    background: var(--white);
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.brand-name {
    font-size: 20px;
    color: var(--text-color);
    text-align: center;
}

.brands-all {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.brands-all[hidden],
.brands-section.is-expanded .brands-slider-wrapper {
    display: none;
}

.brands-all .brand-card {
    min-width: 0;
}

.brands-action button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.brand-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Animações do carrossel */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.brands-action {
    text-align: center;
    margin-top: 60px;
}

.btn-brands {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 12px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    color: #fff;
}

.btn-brands:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 46, 46, 0.4);
}

.btn-brands:active {
    transform: translateY(0);
}

/* Responsividade Brands */
@media (max-width: 768px) {
    .brands-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .brand-card {
        flex-basis: 150px;
        min-width: 150px;
        height: 100px;
    }

    .brands-slider {
        gap: 15px;
    }

    .brands-track {
        --brand-gap: 15px;
    }

    .brands-action {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .brands-section {
        padding: 20px 0;
    }

    .brands-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .brand-card {
        flex-basis: 120px;
        min-width: 120px;
        height: 80px;
        padding: 15px;
    }

    .brands-slider {
        gap: 10px;
    }

    .brands-track {
        --brand-gap: 10px;
    }

    .btn-brands {
        font-size: 16px;
        padding: 10px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brands-track {
        animation: none;
    }
}

/* ===== Cases Section ===== */
.cases-section {
    padding: 0px 0 80px;
    background: var(--white);
}

.cases-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.cases-title {
    font-family: "ivypresto-display", serif;
    font-size: 3rem;
    font-weight: 100;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.cases-slider {
    display: flex;
    gap: 20px;
    overflow-x: visible;
    will-change: transform;
    padding-top: 8px;
}

.cases-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 0 60px;
}

.cases-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.cases-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cases-prev {
    left: 0;
}

.cases-next {
    right: 0;
}

.case-card {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #b71c1c 0%, #6a1b3d 100%);
    padding: 3px;
    min-width: calc(25% - 15px);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(178, 46, 46, 0.3);
}

.case-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

.case-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 18px 18px 0 0;
}

.case-overlay {
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 18px 18px;
}

.case-content {
    flex: 1;
    width: 100%;
    max-width: calc(100% - 40px); 
    overflow: hidden;
}

.case-name {
    font-family: "ivypresto-display", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: 1px;

    /* Reticências */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.case-author {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    opacity: 0.9;
}

.case-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.case-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cases-action {
    text-align: center;
    margin-top: 60px;
}

.btn-cases {
    font-family: "optima-nova-lt-pro", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 12px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    color: #fff;
    text-decoration: none;
}

.btn-cases:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 46, 46, 0.4);
}

.btn-cases:active {
    transform: translateY(0);
}

/* Responsividade Cases */
@media (max-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case-card {
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .cases-container {
        padding: 0 20px;
    }

    .cases-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cases-slider-wrapper{
        padding: 0 50px;
    }

    .cases-arrow {
        width: 40px;
        height: 40px;
    }

    .case-card {
        min-width: calc(50% - 10px);
    }

    .case-image {
        height: 280px;
    }

    .case-name {
        font-size: 1.1rem;
    }

    .case-author {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cases-section {
        padding: 60px 0;
    }

    .cases-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-card {
        min-width: 100%;
    }

    .case-image {
        height: 350px;
    }

    .cases-slider-wrapper{
        padding: 0 40px;
    }

    .btn-cases {
        font-size: 16px;
        padding: 10px 30px;
    }
}

/* ===== Instagram Feed Section ===== */
.instagram-feed {
    padding: 0px 0 80px;
    background: var(--white);
}

.feed-container {
    width: 100%;
    padding: 0;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 1px 1px 0 1px;
    margin-bottom: 40px;
}

.feed-item {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    cursor: pointer;
    /* background: #000; */
}

.feed-thumbnail,
.feed-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.feed-thumbnail2,
.feed-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.feed-thumbnail3,
.feed-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.feed-thumbnail {
    z-index: 2;
    opacity: 1;
}
.feed-thumbnail2 {
    z-index: 2;
    opacity: 1;
}
.feed-thumbnail3 {
    z-index: 2;
    opacity: 1;
}
.feed-video {
    z-index: 1;
    opacity: 0;
}

.feed-item:hover .feed-thumbnail {
    opacity: 0;
}
.feed-item:hover .feed-thumbnail2 {
    opacity: 0;
}
.feed-item:hover .feed-thumbnail3 {
    opacity: 0;
}

@media (min-width: 768px){
  .feed-thumbnail2 {
    height: 570px;
  }

  .feed-thumbnail3{
      height: 580px;
  }
}

.feed-item:hover .feed-video {
    opacity: 1;
}

/* Borda azul no hover */
.feed-item:hover {
    outline: 3px solid #00A8E8;
    outline-offset: -3px;
}

/* Botões de ação */
.feed-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-feed {
    font-family: "optima-nova-lt-pro", sans-serif;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 0;
    background: linear-gradient(180deg, #b71c1c 0%, #4a0d25 100%);
    color: #fff;
    letter-spacing: 1px;
    padding: 12px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-feed:hover {
    background: #8B1F1F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 46, 46, 0.3);
}

.btn-feed:active {
    transform: translateY(0);
}

/* Responsividade Feed */
@media (max-width: 768px) {
    .feed-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feed-item {
        height: 0;
        padding-top: 100%; /* Aspect ratio 1:1 (quadrado) */
    }

    .feed-actions {
        /* flex-direction: column; */
        gap: 15px;
        padding: 20px;
    }

}

@media (max-width: 480px) {
    .instagram-feed {
        padding: 0 0 60px 0;
    }

    .feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        padding: 1px 1px 0 1px;
        margin-bottom: 30px;
    }

    .feed-item {
        height: 0;
        padding-top: 150%; /* Aspect ratio 1:1 (quadrado) estilo Instagram */
    }

    .feed-actions {
        padding: 0 20px;
    }

    .btn-feed {
        padding: 12px 30px;
        font-size: 14px;
    }
}
