/* =============================================
   CALIFÓRNIA MUDAS — Design System
   Tema: Botanical Luxury / Florestal Premium
   ============================================= */

:root {
    --green-900: #0d2818;
    --green-800: #1a3d28;
    --green-700: #1b4332;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-300: #74c69d;
    --green-200: #b7e4c7;
    --green-100: #d8f3dc;
    --green-50:  #f0faf3;

    --earth-900: #2d1b0e;
    --earth-700: #5c3317;
    --earth-500: #8b5e3c;
    --earth-300: #c4956a;
    --earth-100: #f5e6d3;

    --cream: #faf7f2;
    --white:  #ffffff;
    --text-primary: #1a2e1f;
    --text-secondary: #4a6358;
    --text-muted: #7a9585;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(13,40,24,.08);
    --shadow-md: 0 8px 24px rgba(13,40,24,.12);
    --shadow-lg: 0 20px 60px rgba(13,40,24,.18);

    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
    background: var(--green-800);
    color: var(--green-200);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .03em;
    padding: 8px 0;
}
.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.topbar-links { display: flex; gap: 16px; }
.topbar-links a {
    color: var(--green-300);
    transition: color var(--transition);
}
.topbar-links a:hover { color: var(--white); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250,247,242,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(82,183,136,.12);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.02em;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-800);
}
.logo-tagline {
    font-size: .68rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--green-700);
    background: var(--green-50);
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--green-500);
    border-radius: 2px;
}
.main-nav a.nav-cta {
    background: var(--green-700);
    color: white;
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 600;
}
.main-nav a.nav-cta:hover { background: var(--green-600); color: white; }
.main-nav a.nav-cta.active::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-500) 100%);
    padding: 80px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2352b788' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.05rem;
    color: var(--green-200);
    max-width: 560px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .82rem;
    color: var(--green-300);
}
.breadcrumb a { color: var(--green-300); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: var(--green-400); }

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 20px; height: 2px;
    background: var(--green-500);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--green-900);
    line-height: 1.25;
    margin-bottom: 16px;
}
.section-title em {
    font-style: italic;
    color: var(--green-600);
}
.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.75;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary {
    background: var(--green-700);
    color: white;
    border-color: var(--green-700);
}
.btn-primary:hover {
    background: var(--green-600);
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,67,50,.3);
}
.btn-outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}
.btn-outline:hover {
    background: var(--green-700);
    color: white;
    transform: translateY(-2px);
}
.btn-white {
    background: white;
    color: var(--green-800);
    border-color: white;
}
.btn-white:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   HOME — HERO
   ============================================= */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(82,183,136,.15) 0%, transparent 70%);
}
.hero-leaves {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-leaf {
    position: absolute;
    font-size: 4rem;
    opacity: .06;
    animation: floatLeaf 8s ease-in-out infinite;
}
.hero-leaf:nth-child(1) { top: 10%; left: 5%;  animation-delay: 0s;   font-size: 6rem; }
.hero-leaf:nth-child(2) { top: 60%; left: 15%; animation-delay: 2s;   font-size: 3rem; }
.hero-leaf:nth-child(3) { top: 20%; right: 10%; animation-delay: 1s;  font-size: 8rem; }
.hero-leaf:nth-child(4) { bottom: 15%; right: 20%; animation-delay: 3s; font-size: 5rem; }
.hero-leaf:nth-child(5) { top: 40%; right: 35%; animation-delay: 4s;  font-size: 4rem; }

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(8deg); }
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content { padding: 80px 0; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82,183,136,.15);
    border: 1px solid rgba(82,183,136,.3);
    color: var(--green-300);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title em {
    font-style: italic;
    color: var(--green-300);
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--green-200);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(82,183,136,.2);
}
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-300);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: .78rem;
    color: var(--green-400);
    font-weight: 500;
    letter-spacing: .04em;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 80px 0;
}
.hero-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 12px;
}
.hero-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}
.hero-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.hero-gallery-item:hover img { transform: scale(1.06); }
.hero-gallery-item.tall { grid-row: span 2; }
.hero-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,40,24,.4), transparent);
    pointer-events: none;
}

/* =============================================
   SOBRE (Home section)
   ============================================= */
.sobre-section {
    background: var(--white);
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
}
.sobre-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}
.sobre-img img { width: 100%; height: 100%; object-fit: cover; }
.sobre-img.featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
}
.sobre-badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px; height: 120px;
    background: var(--green-700);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}
.sobre-badge-float .num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.sobre-badge-float .txt { font-size: .65rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.sobre-content { max-width: 520px; }
.sobre-content .section-desc { margin-bottom: 32px; }
.sobre-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.sobre-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--green-400);
}
.sobre-feature-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.sobre-feature h4 { font-weight: 600; font-size: .92rem; color: var(--green-800); margin-bottom: 4px; }
.sobre-feature p { font-size: .84rem; color: var(--text-secondary); line-height: 1.5; }

/* =============================================
   SERVIÇOS CARDS
   ============================================= */
.servicos-section { background: var(--cream); }
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.servico-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid rgba(82,183,136,.1);
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.servico-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.servico-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.servico-card:hover::before { transform: scaleX(1); }
.servico-icon {
    width: 56px; height: 56px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: background var(--transition);
}
.servico-card:hover .servico-icon { background: var(--green-100); }
.servico-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 10px;
}
.servico-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* =============================================
   PRODUTOS SECTION
   ============================================= */
.produtos-section { background: var(--white); }
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.produto-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(82,183,136,.1);
    transition: all var(--transition);
}
.produto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.produto-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.produto-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.produto-card:hover .produto-img-wrap img { transform: scale(1.05); }
.produto-categoria {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(13,40,24,.7);
    backdrop-filter: blur(8px);
    color: var(--green-200);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
}
.produto-body { padding: 24px; }
.produto-body h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 10px;
    line-height: 1.3;
}
.produto-body p { font-size: .86rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.produto-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.produto-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 500;
    color: var(--green-700);
    background: var(--green-100);
    padding: 4px 10px;
    border-radius: 100px;
}

/* =============================================
   GALERIA
   ============================================= */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 48px;
}
.galeria-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.galeria-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,40,24,0);
    transition: background var(--transition);
}
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item:hover::after { background: rgba(13,40,24,.3); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(255,255,255,.08), transparent);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: white; }
.cta-section .section-desc { color: var(--green-100); margin: 0 auto 36px; text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diferenciais-section { background: var(--green-900); }
.diferenciais-section .section-title { color: white; }
.diferenciais-section .section-label { color: var(--green-400); }
.diferenciais-section .section-label::before { background: var(--green-400); }
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.diferencial-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(82,183,136,.15);
    background: rgba(255,255,255,.03);
    transition: all var(--transition);
}
.diferencial-card:hover {
    background: rgba(82,183,136,.08);
    border-color: rgba(82,183,136,.3);
    transform: translateY(-4px);
}
.diferencial-icon { font-size: 2.4rem; margin-bottom: 16px; }
.diferencial-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-200);
    margin-bottom: 10px;
}
.diferencial-card p { font-size: .86rem; color: var(--green-400); line-height: 1.6; }

/* =============================================
   CONTATO FORM
   ============================================= */
.contato-section { background: var(--cream); }
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.contato-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 16px;
}
.contato-info p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; }
.contato-items { display: flex; flex-direction: column; gap: 20px; }
.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.contato-item-icon {
    width: 44px; height: 44px;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    flex-shrink: 0;
}
.contato-item h4 { font-weight: 600; font-size: .88rem; color: var(--green-800); margin-bottom: 4px; }
.contato-item a, .contato-item p { font-size: .88rem; color: var(--text-secondary); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(82,183,136,.08);
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(82,183,136,.2);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text-primary);
    background: var(--green-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 0 4px rgba(82,183,136,.12);
    background: white;
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
    display: none;
    background: var(--green-100);
    border: 1px solid var(--green-400);
    color: var(--green-800);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 500;
    margin-top: 16px;
}
.form-success.show { display: flex; align-items: center; gap: 8px; }

/* =============================================
   QUEM SOMOS PAGE
   ============================================= */
.quem-somos-section .text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.quem-somos-section .text-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}
.qs-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
}
.qs-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.qs-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.qs-gallery-item:hover img { transform: scale(1.06); }

/* =============================================
   SERVIÇOS PAGE
   ============================================= */
.servico-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(82,183,136,.1);
}
.servico-row:last-child { border-bottom: none; }
.servico-row.reverse { direction: rtl; }
.servico-row.reverse > * { direction: ltr; }
.servico-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.servico-img img { width: 100%; height: 100%; object-fit: cover; }
.servico-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 16px;
}
.servico-text p { color: var(--text-secondary); line-height: 1.75; font-size: 1rem; }

/* =============================================
   PRODUTO DETALHE PAGE
   ============================================= */
.produto-detalhe { background: var(--white); }
.produto-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
}
.produto-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.produto-thumbnail {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.produto-thumbnail.active { border-color: var(--green-500); }
.produto-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.produto-main-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.produto-main-img img { width: 100%; height: 100%; object-fit: cover; }
.produto-info h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 16px;
}
.produto-info > p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; }
.produto-destaques-list { margin-bottom: 32px; }
.produto-destaques-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(82,183,136,.1);
    font-size: .9rem;
    color: var(--text-secondary);
}
.produto-destaques-list li::before {
    content: '✓';
    color: var(--green-500);
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--green-900);
    color: var(--green-300);
    padding: 64px 0 0;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: var(--green-400); }
.footer-brand p { font-size: .88rem; line-height: 1.75; color: var(--green-400); margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(82,183,136,.1);
    border: 1px solid rgba(82,183,136,.2);
    color: var(--green-300);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 500;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--green-600); color: white; border-color: var(--green-600); }
.footer-nav h4, .footer-contact h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
    font-size: .9rem;
    color: var(--green-300);
    transition: color var(--transition);
}
.footer-nav a:hover { color: white; }
.footer-contact ul { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.footer-contact svg { color: var(--green-500); flex-shrink: 0; }
.footer-contact a { color: var(--green-300); transition: color var(--transition); }
.footer-contact a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(82,183,136,.12);
    padding: 20px 24px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: var(--green-500);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom strong { color: var(--green-300); }
.footer-bottom a { color: var(--green-400); transition: color var(--transition); }
.footer-bottom a:hover { color: white; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 58px; height: 58px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-wa 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,.5);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .hero-content { padding: 80px 0 60px; max-width: 600px; }
    .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
    .produtos-grid { grid-template-columns: repeat(2, 1fr); }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .contato-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .servico-row { grid-template-columns: 1fr; gap: 32px; }
    .servico-row.reverse { direction: ltr; }
    .produto-header { grid-template-columns: 1fr; }
    .qs-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 80vw); background: var(--white); padding: 80px 24px 40px; box-shadow: var(--shadow-lg); z-index: 999; transition: transform var(--transition); transform: translateX(100%); }
    .main-nav.open { display: flex; transform: translateX(0); }
    .main-nav a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid rgba(82,183,136,.1); border-radius: 0; }
    .main-nav a.nav-cta { margin-top: 20px; text-align: center; border-radius: 100px; background: var(--green-700); }
    .main-nav a.active::after { display: none; }
    .nav-toggle { display: flex; }
    .topbar-inner { flex-direction: column; gap: 4px; text-align: center; }
    .servicos-grid { grid-template-columns: 1fr; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .produtos-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
    .hero-stats { gap: 20px; }
    .hero-gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
}

/* =============================================
   RESPONSIVE FIXES — Additional pass
   ============================================= */

/* Fix nav toggle animation */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 998;
}
.nav-overlay.show { display: block; }

/* Fix main-nav mobile drawer */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(300px, 82vw);
        background: #fff;
        padding: 80px 20px 40px;
        flex-direction: column;
        gap: 2px;
        z-index: 999;
        box-shadow: -4px 0 24px rgba(0,0,0,.12);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        display: flex !important; /* always render but hidden */
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a {
        padding: 13px 16px;
        border-radius: 10px;
        font-size: .95rem;
        border-bottom: none;
    }
    .main-nav a:hover,
    .main-nav a.active { background: var(--green-50); }
    .main-nav a.nav-cta {
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }
    .main-nav a.active::after { display: none; }
}

/* ── Section spacing mobile ─────────────────── */
@media (max-width: 768px) {
    .section   { padding: 48px 0; }
    .section-sm{ padding: 32px 0; }
    .container { padding: 0 16px; }

    /* Hero */
    .hero { min-height: auto; padding: 0; }
    .hero-content { padding: 64px 0 48px; }
    .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
    .hero-desc  { font-size: .95rem; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { padding: 11px 22px; font-size: .85rem; }
    .hero-stats { gap: 16px; padding-top: 24px; margin-top: 32px; }
    .hero-stat-number { font-size: 1.5rem; }

    /* Page hero */
    .page-hero { padding: 56px 16px 44px; }
    .page-hero h1 { font-size: 1.7rem; }

    /* Sobre */
    .sobre-grid { grid-template-columns: 1fr; gap: 32px; }
    .sobre-images { display: none; } /* hide on mobile, show content first */
    .sobre-badge-float { display: none; }
    .sobre-features { gap: 10px; }

    /* Stats numbers grid on quem-somos */
    .numbers-grid { grid-template-columns: 1fr !important; }

    /* Services card grid */
    .servicos-grid { grid-template-columns: 1fr; gap: 14px; }
    .servico-card  { padding: 24px 18px; }

    /* Products grid */
    .produtos-grid { grid-template-columns: 1fr; }

    /* Gallery grid */
    .galeria-grid  { grid-template-columns: repeat(2,1fr); gap: 8px; }

    /* Diferenciais */
    .diferenciais-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
    .diferencial-card  { padding: 24px 16px; }

    /* Contato */
    .contato-grid  { grid-template-columns: 1fr; gap: 32px; }
    .contact-form  { padding: 24px 16px; }
    .form-row      { grid-template-columns: 1fr; }
    .contato-items { gap: 12px; }

    /* Servicos page rows */
    .servico-row   { gap: 24px; padding: 40px 0; }
    .servico-row.reverse { direction: ltr; }
    .servico-text h2 { font-size: 1.5rem; }

    /* Produtos page */
    .produto-header { grid-template-columns: 1fr !important; }
    .produto-thumbnails { grid-template-columns: repeat(4,1fr); }

    /* Quem somos gallery */
    .qs-gallery { grid-template-columns: repeat(2,1fr); }

    /* CTA section */
    .cta-section { padding: 56px 0; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

    /* Section title size */
    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

    /* Footer */
    .footer-inner  { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
    .footer-social { flex-wrap: wrap; }

    /* WhatsApp float */
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
    .diferenciais-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: 1fr; }
    .topbar-inner > span { font-size: .72rem; }
    .topbar-links { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 12px; }
    .servico-row { padding: 28px 0; }
    .sobre-feature { padding: 12px; }
}

/* ── Tablet (769–1023) ──────────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-visual { display: none; }
    .hero-content { padding: 80px 0 60px; max-width: 640px; }
    .servicos-grid { grid-template-columns: repeat(2,1fr); }
    .diferenciais-grid { grid-template-columns: repeat(2,1fr); }
    .produtos-grid { grid-template-columns: repeat(2,1fr); }
    .contato-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .qs-gallery { grid-template-columns: repeat(2,1fr); }
    .produto-header { grid-template-columns: 1fr !important; }
}

/* ── Focus / Accessibility ───────────────────── */
:focus-visible {
    outline: 2px solid var(--green-400);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--green-400); }

/* ── Print ───────────────────────────────────── */
@media print {
    .topbar, .site-header, .whatsapp-float, .site-footer { display: none !important; }
    body { background: white; }
}
