@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Roboto", sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0b9347 0%, #059669 100%);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(11, 147, 71, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(11, 147, 71, 0.25);
}

.btn-secondary {
    background-color: #f4f4f5;
    color: #0b9347;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #0b9347;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #0b9347;
    color: white;
    transform: translateY(-1px);
}

/* Grid System */
.grid {
    display: grid;
    gap: 1rem;
}

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

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .section-padding {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .section-padding {
        padding: 4rem 2rem;
    }
}

/* Flexbox */
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.space-x-4 > * + * {
    margin-left: 1rem;
}
.space-x-6 > * + * {
    margin-left: 1.5rem;
}
.space-x-8 > * + * {
    margin-left: 2rem;
}
.space-x-10 > * + * {
    margin-left: 2.5rem;
}
.space-x-12 > * + * {
    margin-left: 3rem;
}
.space-y-4 > * + * {
    margin-top: 1rem;
}
.space-y-6 > * + * {
    margin-top: 1.5rem;
}
.space-y-8 > * + * {
    margin-top: 2rem;
}
.space-y-10 > * + * {
    margin-top: 2.5rem;
}
.space-y-12 > * + * {
    margin-top: 3rem;
}

/* Typography */
.text-center {
    text-align: center;
}
.text-white {
    color: white;
}
.text-gray-600 {
    color: #64748b;
}
.text-gray-900 {
    color: #0f172a;
}
.font-bold {
    font-weight: 700;
}
.font-medium {
    font-weight: 500;
}

/* Sizing */
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.h-screen {
    height: 100vh;
}
.h-12 {
    height: 3rem;
}
.h-6 {
    height: 1.5rem;
}
.w-6 {
    width: 1.5rem;
}
.h-4 {
    height: 1rem;
}
.w-4 {
    width: 1rem;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-8 {
    padding: 2rem;
}
.p-10 {
    padding: 2.5rem;
}
.p-12 {
    padding: 3rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mt-16 {
    margin-top: 4rem;
}

/* Backgrounds */
.bg-white {
    background-color: white;
}
.bg-gray-50 {
    background-color: #f8fafc;
}
.bg-gray-900 {
    background-color: #0f172a;
}

/* Borders */
.rounded-lg {
    border-radius: 0.5rem;
}
.border {
    border: 1px solid #e2e8f0;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Positioning */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.sticky {
    position: sticky;
}
.top-0 {
    top: 0;
}
.bottom-0 {
    bottom: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.z-50 {
    z-index: 50;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Transitions */
.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.transition-all {
    transition: all 0.15s ease-in-out;
}
.duration-300 {
    transition-duration: 300ms;
}

/* Responsive */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:block {
        display: block;
    }
}

@media (max-width: 767px) {
    .hidden {
        display: none;
    }
}

/* Seção de Imagens - Melhorias Visuais */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: white;
}

.image-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Seção de Serviços - Grid Melhorado */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 60%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: white;
}

.service-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-content p {
    font-size: 0.8rem;
    opacity: 0.95;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Section Melhorado */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    transition: opacity 0.5s ease-in-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.5s ease-in-out;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.carousel-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Navegação do Carousel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

/* Video Player Inline */
.video-container {
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.video-close-btn {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.video-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.logo-container-header {
    position: relative;
    display: inline-block;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Logo Footer Moderno */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 100%
    );
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.logo-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(2, 132, 199, 0.3);
}

.logo-container:hover::before {
    left: 100%;
}

.logo-footer {
    height: 2.5rem;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.logo-container:hover .logo-footer {
    transform: scale(1.05);
}

/* Responsive logo */
@media (max-width: 640px) {
    .logo-container {
        padding: 0.75rem 1rem;
    }

    .logo-footer {
        height: 2rem;
    }
}

/* Classes complementares */
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}
.text-sm {
    font-size: 0.875rem;
}
.text-xs {
    font-size: 0.75rem;
}

.bg-primary-600 {
    background-color: #0b9347;
}
.text-primary-600 {
    color: #0b9347;
}
.bg-primary-100 {
    background-color: #dcfce7;
}

.text-gray-300 {
    color: #cbd5e1;
}
.text-gray-400 {
    color: #94a3b8;
}
.text-gray-700 {
    color: #334155;
}
.bg-gray-100 {
    background-color: #f1f5f9;
}
.bg-gray-200 {
    background-color: #e2e8f0;
}
.bg-gray-800 {
    background-color: #1e293b;
}

.border-gray-200 {
    border-color: #e2e8f0;
}
.border-gray-800 {
    border-color: #1e293b;
}
.border-t {
    border-top: 1px solid;
}

.gap-12 {
    gap: 3rem;
}
.gap-8 {
    gap: 2rem;
}

.max-w-2xl {
    max-width: 42rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-4xl {
    max-width: 56rem;
}
.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mt-20 {
    margin-top: 5rem;
}
.mt-12 {
    margin-top: 3rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.pt-8 {
    padding-top: 2rem;
}
.pt-4 {
    padding-top: 1rem;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}
.aspect-square {
    aspect-ratio: 1 / 1;
}

.lg\:col-span-2 {
    grid-column: span 2;
}

.filter {
    filter: brightness(0) invert(1);
}
.brightness-0 {
    filter: brightness(0);
}
.invert {
    filter: invert(1);
}

.flex-shrink-0 {
    flex-shrink: 0;
}
.w-8 {
    width: 2rem;
}
.h-8 {
    height: 2rem;
}
.h-5 {
    height: 1.25rem;
}
.w-5 {
    width: 1.25rem;
}
.mt-0\.5 {
    margin-top: 0.125rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}
.space-y-2 > * + * {
    margin-top: 0.5rem;
}
.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.opacity-90 {
    opacity: 0.9;
}
.opacity-70 {
    opacity: 0.7;
}
.opacity-50 {
    opacity: 0.5;
}

.cursor-pointer {
    cursor: pointer;
}
.disabled\:opacity-50:disabled {
    opacity: 0.5;
}
.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

.bg-green-100 {
    background-color: #dcfce7;
}
.text-green-700 {
    color: #15803d;
}
.bg-red-100 {
    background-color: #fee2e2;
}
.text-red-700 {
    color: #b91c1c;
}

.line-height-1\.4 {
    line-height: 1.4;
}
.line-height-1\.3 {
    line-height: 1.3;
}

/* Responsividade melhorada */
@media (max-width: 640px) {
    .service-card {
        margin-bottom: 1rem;
    }

    .image-card {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .container-custom {
        padding: 0 0.5rem;
    }
}

/* Efeitos Modernos Adicionais */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(11, 147, 71, 0.15),
        transparent
    );
    animation: rotate 3s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Efeito de Shimmer */
.shimmer {
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Gradiente Animado */
.gradient-animate {
    background: linear-gradient(-45deg, #0b9347, #059669, #047857, #0b9347);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Efeito de Pulso Suave */
.pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Efeito de Flutuar */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

/* Efeito de Borda Brilhante */
.glowing-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #0b9347, #059669) border-box;
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(11, 147, 71, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(11, 147, 71, 0.6);
    }
}

/* Efeito de Texto Brilhante */
.text-glow {
    text-shadow: 0 0 5px rgba(11, 147, 71, 0.5), 0 0 10px rgba(11, 147, 71, 0.3),
        0 0 15px rgba(11, 147, 71, 0.2);
}

/* Efeito de Slide In */
.slide-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-in 0.8s ease-out forwards;
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de Zoom In */
.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoom-in 0.6s ease-out forwards;
}

@keyframes zoom-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efeito de Fade In Direções */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fade-in-left 0.8s ease-out forwards;
}

@keyframes fade-in-left {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fade-in-right 0.8s ease-out forwards;
}

@keyframes fade-in-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efeito de Escala ao Hover */
.scale-hover {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-hover:hover {
    transform: scale(1.02);
}

/* Efeito de Sombra Dinâmica */
.shadow-dynamic {
    transition: box-shadow 0.3s ease;
}

.shadow-dynamic:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 50px rgba(11, 147, 71, 0.15);
}

/* Efeito de Brilho no Botão */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::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.8s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Efeito de Gradiente no Texto */
.text-gradient {
    background: linear-gradient(135deg, #0b9347 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efeito de Linha Animada */
.line-animate {
    position: relative;
}

.line-animate::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0b9347, #059669);
    transition: width 0.3s ease;
}

.line-animate:hover::after {
    width: 100%;
}

/* Novas Classes para Paleta Harmônica Planagro */

/* Botões de Destaque com Vermelho */
.btn-accent {
    background: linear-gradient(135deg, #fd0302 0%, #dc2626 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(253, 3, 2, 0.2);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(253, 3, 2, 0.3);
}

/* Cores de Texto da Nova Paleta */
.text-primary-500 {
    color: #0b9347;
}
.text-primary-600 {
    color: #059669;
}
.text-primary-700 {
    color: #047857;
}
.text-accent-500 {
    color: #fd0302;
}
.text-accent-600 {
    color: #dc2626;
}
.text-neutral-600 {
    color: #52525b;
}
.text-neutral-700 {
    color: #3f3f46;
}
.text-neutral-800 {
    color: #27272a;
}

/* Cores de Background da Nova Paleta */
.bg-primary-50 {
    background-color: #f0fdf4;
}
.bg-primary-500 {
    background-color: #0b9347;
}
.bg-primary-600 {
    background-color: #059669;
}
.bg-accent-50 {
    background-color: #fef2f2;
}
.bg-accent-500 {
    background-color: #fd0302;
}
.bg-neutral-50 {
    background-color: #fafafa;
}
.bg-neutral-100 {
    background-color: #f4f4f5;
}

/* Gradientes da Nova Paleta */
.gradient-primary-vertical {
    background: linear-gradient(180deg, #0b9347 0%, #047857 100%);
}

.gradient-accent-vertical {
    background: linear-gradient(180deg, #fd0302 0%, #b91c1c 100%);
}

.gradient-hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(11, 147, 71, 0.85) 0%,
        rgba(5, 150, 105, 0.75) 100%
    );
}

/* Bordas com as Novas Cores */
.border-primary-500 {
    border-color: #0b9347;
}
.border-primary-600 {
    border-color: #059669;
}
.border-accent-500 {
    border-color: #fd0302;
}
.border-neutral-200 {
    border-color: #e4e4e7;
}

/* Sombras Coloridas */
.shadow-primary {
    box-shadow: 0 4px 14px 0 rgba(11, 147, 71, 0.15);
}

.shadow-primary-lg {
    box-shadow: 0 10px 30px 0 rgba(11, 147, 71, 0.2);
}

.shadow-accent {
    box-shadow: 0 4px 14px 0 rgba(253, 3, 2, 0.15);
}

.shadow-accent-lg {
    box-shadow: 0 10px 30px 0 rgba(253, 3, 2, 0.2);
}

/* Efeitos Especiais com as Novas Cores */
.glow-primary {
    box-shadow: 0 0 20px rgba(11, 147, 71, 0.3), 0 0 40px rgba(11, 147, 71, 0.2);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(253, 3, 2, 0.3), 0 0 40px rgba(253, 3, 2, 0.2);
}

/* Ring Effects com as Novas Cores */
.ring-primary {
    box-shadow: 0 0 0 3px rgba(11, 147, 71, 0.1);
}

.ring-accent {
    box-shadow: 0 0 0 3px rgba(253, 3, 2, 0.1);
}

/* Overlay Gradients para Cards */
.overlay-gradient-primary {
    background: linear-gradient(
        to top,
        rgba(11, 147, 71, 0.8) 0%,
        rgba(11, 147, 71, 0.4) 50%,
        transparent 100%
    );
}

.overlay-gradient-dark {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
}

/* Estados de Validação */
.input-success {
    border-color: #0b9347;
    box-shadow: 0 0 0 3px rgba(11, 147, 71, 0.1);
}

.input-error {
    border-color: #fd0302;
    box-shadow: 0 0 0 3px rgba(253, 3, 2, 0.1);
}

.text-success {
    color: #0b9347;
}
.text-error {
    color: #fd0302;
}
.bg-success {
    background-color: #dcfce7;
}
.bg-error {
    background-color: #fef2f2;
}

/* Indicadores e Badges */
.badge-primary {
    background-color: #0b9347;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-accent {
    background-color: #fd0302;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-neutral {
    background-color: #71717a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Melhorias nos Status de Sucesso e Erro */
.bg-green-100 {
    background-color: #dcfce7;
}
.text-green-700 {
    color: #047857;
}
.bg-red-100 {
    background-color: #fef2f2;
}
.text-red-700 {
    color: #b91c1c;
}
.border-green-400 {
    border-color: #4ade80;
}
.border-red-400 {
    border-color: #f87171;
}
.text-yellow-700 {
    color: #a16207;
}
.bg-yellow-100 {
    background-color: #fefce8;
}
.border-yellow-400 {
    border-color: #facc15;
}

/* Mobile menu styles */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.whatsapp-float-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.whatsapp-float-btn:hover::before {
    left: 100%;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0f766e 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-float-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-float-text {
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .whatsapp-float-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .whatsapp-float-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .whatsapp-float-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    .whatsapp-float-text {
        font-size: 0.8rem;
    }
}

/* Video player styles */
#video-iframe.hidden {
    display: none;
}

#video-container.hidden {
    display: none;
}

/* Contact section styles */
.border-l-4 {
    border-left-width: 4px;
}

.border-green-500 {
    border-left-color: #10b981;
}

.border-blue-500 {
    border-left-color: #3b82f6;
}

.border-red-500 {
    border-left-color: #dc2626;
}

/* Contact Cards - Melhorias Visuais */
.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 0, 0, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.15),
        0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.email-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.phone-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

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

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.contact-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 0.75rem;
}

.contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0f766e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.35);
}

.email-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
}

.email-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.35);
}

.phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px 0 rgba(239, 68, 68, 0.2);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.phone-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.4s ease;
}

.phone-btn:hover::before {
    left: 100%;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(239, 68, 68, 0.3);
}

/* Responsive adjustments for contact cards */
@media (max-width: 640px) {
    .contact-card {
        padding: 1.25rem;
    }

    .contact-card-header {
        margin-bottom: 1.25rem;
    }

    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.75rem;
    }

    .contact-title {
        font-size: 1rem;
    }

    .contact-subtitle {
        font-size: 0.8rem;
    }

    .contact-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .phone-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
}

/* Additional responsive styles */
@media (max-width: 640px) {
    .carousel-nav {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-nav.prev {
        left: 0.5rem;
    }

    .carousel-nav.next {
        right: 0.5rem;
    }

    .carousel-indicators {
        bottom: 1rem;
    }
}
