/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
:root {
    /* Tropical Operational Excellence Design System */
    
    /* Core Colors */
    --color-primary: #006b31;
    --color-primary-hover: #005225;
    --color-primary-container: #238545;
    --color-on-primary-container: #f7fff3;
    
    --color-secondary: #5f5e5e;
    --color-on-secondary: #ffffff;
    --color-secondary-container: #e2dfde;
    --color-on-secondary-container: #636262;

    --color-bg-main: #f9f9ff;
    --color-bg-alt: #f0f3ff;
    --color-bg-card: #ffffff;
    --color-bg-placeholder: #dce2f3;
    
    /* Semantic Accents */
    --color-accent-yellow: #f59e0b;   /* Soft Amber */
    --color-accent-red: #ba1a1a;      /* Semantic Red */
    --color-success: #006b31;
    --color-error: #ba1a1a;
    
    /* Text Colors */
    --color-text-dark: #151c27;       /* Deep Charcoal */
    --color-text-muted: #3f493f;      /* Muted variant */
    --color-text-light: #ffffff;
    
    /* Tipografia */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Sombras e Bordas */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    
    /* Shapes / Rounded */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transições */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 1440px;
    --header-height: 64px;
    --sidebar-width: 260px;
}

/* ----------------------------------------------------
   BASE STYLES & RESET
   ---------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Acessibilidade: Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 10px 20px;
    z-index: 10000;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 20px;
}

/* Foco Acessível Geral */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

/* ----------------------------------------------------
   REUSABLE UTILITIES
   ---------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.highlight {
    color: var(--color-primary);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-text-light);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Tamanhos de botões */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-md, .btn {
    padding: 12px 28px;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Crachás / Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.badge-confirmed {
    background-color: rgba(46, 111, 15, 0.1);
    color: var(--color-primary);
}

.badge-provisional {
    background-color: rgba(90, 58, 41, 0.1);
    color: var(--color-secondary-light);
}

/* Título de Seções */
.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Placeholders de Imagem */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-placeholder) 100%);
    border: 2px dashed var(--color-text-muted);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background-color: rgba(58, 31, 17, 0.02);
}

.placeholder-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.placeholder-dimensions {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   HEADER & NAVBAR
   ---------------------------------------------------- */
.header {
    background-color: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1020;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* Animação menu mobile ativo */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navegação */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-bg-card);
    box-shadow: var(--shadow-lg);
    padding: 100px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
    z-index: 1005;
}

.nav.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--color-secondary);
    display: block;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 1.25rem;
}

/* Overlay do menu mobile */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(58, 31, 17, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: none;
}

.nav-overlay.active {
    display: block;
}

/* ----------------------------------------------------
   SEÇÃO HERO
   ---------------------------------------------------- */
.section-hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente suave lembrando salada de frutas fresca (kiwi, laranja, morango, creme) */
    background: linear-gradient(135deg, #fdf8f4 0%, #faecd7 50%, #e6eedc 100%);
    z-index: 1;
}

/* Adicionando formas decorativas no fundo */
.hero-bg-placeholder::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,111,15,0.06) 0%, rgba(0,0,0,0) 70%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.hero-text-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-side {
    position: relative;
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1; /* Exibe o logo no topo no mobile */
}

@keyframes windSway {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(4px, -2px) rotate(1deg) scale(1.01);
    }
    66% {
        transform: translate(-3px, 3px) rotate(-1deg) scale(0.99);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

.hero-beach-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    background-image: url('./assets/hero_beach_palms_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    filter: blur(1.5px);
    animation: windSway 8s ease-in-out infinite;
    border: 1px solid rgba(46, 196, 182, 0.15);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
}

.hero-logo-bg {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, rgba(255, 183, 3, 0.14) 60%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 10px 15px rgba(46, 111, 15, 0.12));
    }
    50% {
        transform: translateY(-15px) rotate(1.5deg);
        filter: drop-shadow(0 25px 25px rgba(46, 111, 15, 0.25));
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 10px 15px rgba(46, 111, 15, 0.12));
    }
}

.hero-logo-wrapper {
    position: relative;
    z-index: 2;
    animation: floatLogo 6s ease-in-out infinite;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-big-logo {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) drop-shadow(0 8px 16px rgba(46, 111, 15, 0.25));
}

.hero-badge {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.hero-content-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.hero-actions .btn {
    width: 100%;
}

/* ----------------------------------------------------
   SEÇÃO QUEM SOMOS (ABOUT)
   ---------------------------------------------------- */
.section-about {
    padding: 80px 0;
    background-color: var(--color-bg-card);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-image-side {
    position: relative;
}

.image-placeholder-about {
    min-height: 400px;
    border-radius: var(--radius-lg);
}

.about-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text-side {
    display: flex;
    flex-direction: column;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* MVV Tabs */
.mvv-container {
    background-color: var(--color-bg-main);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.mvv-tabs {
    display: flex;
    border-bottom: 2px solid var(--color-bg-placeholder);
    margin-bottom: 20px;
    gap: 8px;
}

.mvv-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
}

.mvv-tab-btn:hover {
    color: var(--color-secondary);
}

.mvv-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.mvv-panel {
    display: none;
}

.mvv-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.valores-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.valores-list li {
    position: relative;
    padding-left: 24px;
}

.valores-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ----------------------------------------------------
   SEÇÃO PRODUTOS
   ---------------------------------------------------- */
.section-products {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.product-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(58, 31, 17, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-image-container {
    height: 240px;
}

.image-placeholder-product {
    height: 100%;
    min-height: auto;
    border: none;
    border-radius: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

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

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: space-between;
}

.product-name {
    font-size: 1.35rem;
    color: var(--color-secondary);
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Marcadores para fácil identificação */
.card-provisional {
    border-left: 4px solid var(--color-secondary-light);
}

.tag-provisional {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ----------------------------------------------------
   SEÇÃO DIFERENCIAIS
   ---------------------------------------------------- */
.section-differentials {
    padding: 80px 0;
    background-color: var(--color-bg-alt);
}

.differentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.diff-card {
    background-color: var(--color-bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.diff-icon-wrapper {
    background-color: rgba(46, 111, 15, 0.08);
    color: var(--color-primary);
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-name {
    font-size: 1.25rem;
}

.diff-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   SEÇÃO UNIDADES (LOCATIONS)
   ---------------------------------------------------- */
.section-locations {
    padding: 80px 0;
    background-color: var(--color-bg-card);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.location-card {
    background-color: var(--color-bg-main);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.location-map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #eeeae3 0%, #dfd9ce 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-icon {
    font-size: 3rem;
}

.location-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-name {
    font-size: 1.25rem;
}

.location-city {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.location-link {
    align-self: flex-start;
    margin-top: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
}

.location-link:hover {
    color: var(--color-primary-hover);
}

/* ----------------------------------------------------
   SEÇÃO DEPOIMENTOS
   ---------------------------------------------------- */
.section-testimonials {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--color-bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.stars {
    color: var(--color-accent-yellow);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text-dark);
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-secondary);
}

.author-tag {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.author-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.testimonials-future-notice {
    background-color: rgba(46, 111, 15, 0.05);
    border: 1px dashed var(--color-primary);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------------------
   SEÇÃO CTA FINAL
   ---------------------------------------------------- */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    color: var(--color-text-light);
    text-align: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-title {
    color: var(--color-text-light);
    font-size: 2.25rem;
}

.cta-desc {
    max-width: 600px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------
   RODAPÉ (FOOTER)
   ---------------------------------------------------- */
.footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); /* Deixa logo toda branca no rodapé escuro */
}

.brand-desc {
    font-size: 0.9rem;
}

.footer-heading {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-text-light);
}

.info-hours, .info-status {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* ----------------------------------------------------
   ANIMAÇÕES
   ---------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   RESPONSIVIDADE (MEDIA QUERIES)
   ---------------------------------------------------- */

/* Telas de Tablet (768px+) */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        width: auto;
    }
    
    .hero-actions .btn {
        width: auto;
    }
    
    .about-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
    
    .valores-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

/* Telas de Desktop (1024px+) */
@media (min-width: 1024px) {
    /* Navbar Desktop Ajustada para Eliminar Apertos */
    .menu-toggle {
        display: none; /* Esconde menu hambúrguer */
    }

    .header-logo-wrapper {
        flex: 0 0 auto;
        margin-right: 1.5rem;
        display: flex;
        align-items: center;
    }
    
    .logo-link {
        display: flex;
        align-items: center;
    }
    
    .nav {
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
    }
    
    .nav-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
    }

    .nav-link {
        white-space: nowrap !important;
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0.5rem 0.25rem;
        letter-spacing: 0.01em;
    }
    
    .header-cta {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        margin-left: 1.5rem;
        margin-right: 0;
    }
    
    .section-hero {
        padding-top: var(--header-height);
        height: 100vh;
    }
    
    .differentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        gap: 60px;
        text-align: left;
    }

    .hero-text-side {
        align-items: flex-start;
    }

    .hero-logo-side {
        max-width: 480px;
        order: 1; /* Coloca o logo na direita no desktop */
    }

    .hero-beach-backdrop {
        width: 440px;
        height: 440px;
    }

    .hero-logo-bg {
        width: 460px;
        height: 460px;
    }

    .hero-big-logo {
        max-width: 440px;
    }

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

/* ----------------------------------------------------
   MODAIS E COMPONENTES OPERACIONAIS (PEDIDOS/AUTH)
   ---------------------------------------------------- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 26, 17, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    z-index: 10001;
    width: 90%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-bg-placeholder);
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-accent-red);
}

.alert-bar {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Ajustes finos de formulário */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-bg-placeholder);
    background-color: var(--color-bg-main);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 111, 15, 0.15);
}

/* Design System - Tropical Operational Excellence Overrides */
.data-mono {
    font-family: var(--font-mono) !important;
}

body.admin-body {
    background-color: var(--color-bg-main) !important;
    color: var(--color-text-dark) !important;
}

.sidebar {
    background: var(--color-bg-alt) !important;
    border-right: 1px solid var(--color-bg-placeholder) !important;
}

.sidebar-link {
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    color: var(--color-text-dark) !important;
}

.sidebar-link:hover {
    background: rgba(0, 107, 49, 0.05) !important;
    color: var(--color-primary) !important;
}

.sidebar-link.active {
    background: rgba(0, 107, 49, 0.1) !important;
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    position: relative;
}

.sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background-color: var(--color-primary);
    border-radius: 0 2px 2px 0;
}

.card {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-bg-placeholder) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-sm) !important;
}

.card-title {
    color: var(--color-text-dark) !important;
    border-bottom: 1px solid var(--color-bg-placeholder) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
}

/* Tabela Responsiva com Rolagem Interna Contida */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.admin-table th {
    background-color: var(--color-bg-alt) !important;
    color: var(--color-text-muted) !important;
    border-bottom: 1px solid var(--color-bg-placeholder) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table td {
    border-bottom: 1px solid var(--color-bg-placeholder) !important;
}

.admin-table tbody tr:hover {
    background: var(--color-bg-alt) !important;
}

.form-control {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--color-bg-placeholder) !important;
    padding: 12px 16px !important;
    background-color: var(--color-bg-card) !important;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(0, 107, 49, 0.2) !important;
    border-color: var(--color-primary) !important;
}

.btn {
    border-radius: var(--radius-md) !important;
    font-family: var(--font-heading) !important;
}

.btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-text-light) !important;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover) !important;
}

.btn-secondary {
    border-color: var(--color-secondary-container) !important;
    color: var(--color-text-muted) !important;
}

.btn-secondary:hover {
    background-color: var(--color-bg-alt) !important;
    color: var(--color-text-dark) !important;
}

/* ----------------------------------------------------
   MOBILE BOTTOM NAVIGATION BAR
   ---------------------------------------------------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    border-top: 1px solid var(--color-bg-placeholder);
}

.bottom-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: color var(--transition-fast);
}

.bottom-nav-item .nav-icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* Hide header navigation and show bottom nav on mobile, invert on desktop */
@media (min-width: 1024px) {
    .bottom-nav {
        display: none; /* Hide bottom nav on desktop */
    }
}

@media (max-width: 1023px) {
    /* Make body have extra padding bottom so bottom nav doesn't overlap footer content */
    body {
        padding-bottom: 64px;
    }
}

/* ----------------------------------------------------
   MEUS PEDIDOS SCREEN / CUSTOM STYLING
   ---------------------------------------------------- */
.order-metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background-color: var(--color-bg-main);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-bg-placeholder);
}

.metadata-item {
    display: flex;
    flex-direction: column;
}

.metadata-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.metadata-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

/* Timeline Layout */
.order-timeline-wrapper {
    margin: 2rem 0;
    position: relative;
    padding: 0 0.5rem;
}

.order-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-bg-placeholder);
    z-index: 1;
}

.timeline-progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    transition: width 0.4s ease;
    width: 0%;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.timeline-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--color-bg-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.timeline-text {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-align: center;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

/* Completed Step state */
.timeline-step.completed .timeline-circle {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.timeline-step.completed .timeline-text {
    color: var(--color-primary);
}

/* Active Step state */
.timeline-step.active .timeline-circle {
    background-color: #ffffff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 107, 49, 0.2);
    transform: scale(1.1);
}

.timeline-step.active .timeline-text {
    color: var(--color-primary);
    font-weight: 800;
}

/* Notice box */
.order-notice-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(0, 107, 49, 0.05);
    border-left: 4px solid var(--color-primary);
    padding: 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.order-notice-box svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Order Details Card */
.order-details-card {
    background: #ffffff;
    border: 1px solid var(--color-bg-placeholder);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.details-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-bg-placeholder);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    border-top: 1px solid var(--color-bg-placeholder);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* Previous order cards */
.prev-order-card {
    background: #ffffff;
    border: 1px solid var(--color-bg-placeholder);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.prev-order-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.prev-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prev-order-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.prev-order-body {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.prev-order-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.prev-order-info {
    display: flex;
    flex-direction: column;
}

.prev-order-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.prev-order-details {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ----------------------------------------------------
   DYNAMIC HEADER FOR SPA VIEW MODE
   ---------------------------------------------------- */
body.in-subview .header .menu-toggle {
    display: none !important;
}
body.in-subview .header #back-nav-btn {
    display: block !important;
}
body.in-subview .header #header-logo-link {
    display: none !important;
}
body.in-subview .header #header-view-title {
    display: block !important;
}

/* Hide desktop menu links when in a subview to look clean */
body.in-subview .header .nav {
    display: none !important;
}

/* ----------------------------------------------------
   PROMO CARD (COMBO VERÃO FRESCO)
   ---------------------------------------------------- */
.promo-card {
    display: flex;
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #ffffff;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    border: none;
    text-align: left;
}

.promo-info {
    padding: 1.5rem;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.promo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin: 0;
}

.promo-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.95;
}

.promo-btn {
    background-color: #3f1f11 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 16px !important;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full) !important;
    cursor: pointer;
    align-self: flex-start;
    transition: transform var(--transition-fast);
}

.promo-btn:hover {
    transform: scale(1.05);
}

.promo-image {
    flex: 0.8;
    background-image: url('assets/product_fresh_fruits.png');
    background-size: cover;
    background-position: center;
    min-height: 150px;
}

/* Hide some elements inside user widget when in mobile views */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
}

/* ----------------------------------------------------
   SKELETON LOADER ANIMADO (CATÁLOGO)
   ---------------------------------------------------- */
.skeleton-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-bg-placeholder);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.skeleton-box {
    background: linear-gradient(90deg, #f0e6df 25%, #f9f5f0 50%, #f0e6df 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-img {
    height: 180px;
    width: 100%;
}

.skeleton-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    width: 90%;
    border-radius: var(--radius-sm);
}

.skeleton-btn {
    height: 42px;
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

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

/* ----------------------------------------------------
   BADGES COMERCIAIS DE DISPONIBILIDADE DE ESTOQUE
   ---------------------------------------------------- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}
.badge-confirmed {
    background-color: rgba(0, 107, 49, 0.1);
    color: #006b31;
}
.badge-warning {
    background-color: rgba(234, 179, 8, 0.18);
    color: #854d0e;
}
.badge-provisional {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

