/* =====================================================================
   VARETAS BRASIL — Folha de estilo principal
   Paleta verde/dourado + tipografia Montserrat
   Layout: Flexbox / Grid  •  Variáveis CSS  •  Micro-interações
   ===================================================================== */

/* ==================== VARIÁVEIS DE CORES E LAYOUT ==================== */
:root {
    --primary-green: #003c2f;
    --secondary-green: #063f31;
    --medium-green: #295148;
    --deep-green: #002b22;
    --gold: #c09e79;
    --gold-dark: #a8875f;
    --gold-light: #d8bd9c;
    --white: #ffffff;
    --light-gray: #f3f1ec;
    /* neutro quente com leve viés verde/dourado */
    --cream: #f6f4ef;
    --dark-text: #0e1f1b;
    --muted-text: #4a5553;

    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 6px 18px rgba(14, 31, 27, 0.06);
    --shadow-md: 0 16px 34px rgba(14, 31, 27, 0.10);
    --shadow-lg: 0 30px 60px rgba(14, 31, 27, 0.16);
    --shadow-gold: 0 14px 30px rgba(192, 158, 121, 0.35);

    --radius: 14px;
    --radius-sm: 8px;
    --header-height: 80px;
}

/* ==================== RESET E BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 96px 0;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--primary-green);
    text-wrap: balance;
}

/* palavra destacada em dourado dentro de títulos */
.hl {
    color: var(--gold);
}

.section-subtitle {
    text-transform: uppercase;
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-subtitle::after {
    content: '';
    height: 1px;
    width: 50px;
    background-color: var(--gold);
    display: inline-block;
}

/* Subtítulos centralizados (produtos, diferenciais, etc.) */
.text-center .section-subtitle,
.products .section-subtitle,
.differentials .section-subtitle,
.applications .section-subtitle,
.block-white .section-subtitle {
    justify-content: center;
}

.products .section-subtitle::before,
.differentials .section-subtitle::before,
.applications .section-subtitle::before,
.block-white .section-subtitle::before {
    content: '';
    height: 1px;
    width: 50px;
    background-color: var(--gold);
    display: inline-block;
}

/* ==================== BUTTONS ==================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.2px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: none;
    overflow: hidden;
}

/* leve elevação no hover de qualquer botão */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn i {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--medium-green), var(--primary-green));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-beige {
    background-color: var(--white);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
}

.btn-beige:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-gold-text {
    color: var(--gold);
    font-weight: 700;
    padding: 0;
    background: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-gold-text i {
    transition: transform 0.3s var(--ease-out);
}

.btn-gold-text:hover {
    color: var(--primary-green);
}

.btn-gold-text:hover i {
    transform: translateX(4px);
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-green);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

/* estado ao rolar a página (adicionado via JS) */
header.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

header.scrolled .header-container {
    height: 66px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    transition: height 0.3s var(--ease-out);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 38px;
    width: auto;
    transition: max-height 0.3s var(--ease-out);
}

header.scrolled .logo img {
    max-height: 32px;
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    position: relative;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: var(--transition);
    padding-bottom: 4px;
}

/* sublinhado animado */
.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--gold);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta .btn-primary {
    background-color: var(--medium-green);
    color: var(--white);
}

.header-cta .btn-primary:hover {
    background-color: var(--gold);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(192, 158, 121, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(0, 60, 47, 0.06), transparent 60%),
        var(--cream);
    padding: 170px 0 90px;
    position: relative;
    overflow: hidden;
}

/* grade sutil de fundo (textura industrial discreta) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 60, 47, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 60, 47, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(70% 70% at 72% 28%, #000 0%, transparent 75%);
    mask-image: radial-gradient(70% 70% at 72% 28%, #000 0%, transparent 75%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

/* eyebrow em pílula */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 60, 47, 0.12);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary-green);
    margin-bottom: 26px;
    backdrop-filter: blur(4px);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(192, 158, 121, 0.25);
}

.hero h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--primary-green);
}

.hero p {
    font-size: 1.12rem;
    color: var(--muted-text);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
    height: 520px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

/* movimento só ao passar o mouse (como as demais imagens) */
.hero-image img:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 70px rgba(14, 31, 27, 0.22);
}

/* animação de entrada do hero (no load) */
.hero-content>*,
.hero-image {
    opacity: 0;
    animation: heroIn 0.8s var(--ease-out) forwards;
}

.hero-content>*:nth-child(1) { animation-delay: 0.05s; }
.hero-content>*:nth-child(2) { animation-delay: 0.14s; }
.hero-content>*:nth-child(3) { animation-delay: 0.23s; }
.hero-content>*:nth-child(4) { animation-delay: 0.32s; }
.hero-image { animation-delay: 0.22s; }

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

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ==================== BENEFITS BAR ==================== */
.benefits-bar {
    background-color: var(--white);
    border-bottom: 1px solid #eceae4;
    padding: 26px 0;
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    flex: 1;
    justify-content: center;
    position: relative;
}

/* divisórias verticais entre os itens */
.benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 34px;
    width: 1px;
    background: #eceae4;
}

.benefit-item:hover {
    color: var(--gold);
}

.benefit-item i {
    font-size: 1.35rem;
    color: var(--gold-dark);
    transition: var(--transition);
}

.benefit-item:hover i {
    transform: translateY(-3px) scale(1.1);
    color: var(--gold);
}

/* ==================== ABOUT SECTION ==================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 22px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--muted-text);
}

.about-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.about-images img {
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
    height: 200px;
    transition: transform 0.4s var(--ease-out);
}

.about-images img:hover {
    transform: scale(1.03);
}

.about-images img:first-child {
    grid-column: 1 / -1;
    height: 300px;
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
    background-color: var(--cream);
    text-align: center;
}

.products h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    position: relative;
    background-color: var(--white);
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid #ece9e2;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* barra dourada que sobe no hover */
.product-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card .product-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.5s var(--ease-out);
}

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

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark-text);
    letter-spacing: -0.01em;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==================== DIFFERENTIALS SECTION ==================== */
.differentials {
    background:
        radial-gradient(800px 400px at 15% 0%, rgba(192, 158, 121, 0.14), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(255, 255, 255, 0.05), transparent 55%),
        linear-gradient(160deg, var(--secondary-green), var(--deep-green));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.differentials h2 {
    color: var(--white);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 60px;
}

.diff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.diff-item {
    flex: 1 1 190px;
    max-width: 235px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.diff-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(192, 158, 121, 0.4);
}

.diff-item i {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--gold);
    background: rgba(192, 158, 121, 0.12);
    border: 1px solid rgba(192, 158, 121, 0.35);
    margin-bottom: 22px;
    transition: transform 0.35s var(--ease-spring), color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.diff-item:hover i {
    transform: scale(1.1);
    color: var(--deep-green);
    background: var(--gold);
}

.diff-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.diff-item p {
    font-size: 0.85rem;
    color: #aebdb9;
}

/* ==================== APPLICATIONS SECTION ==================== */
.applications {
    text-align: center;
}

.applications h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 50px;
}

.apps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.app-card {
    flex: 1 1 18%;
    min-width: 200px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: linear-gradient(160deg, var(--medium-green), var(--primary-green));
    color: var(--white);
    padding: 40px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

/* faixa dourada no topo, revelada no hover */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

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

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 158, 121, 0.15);
    border: 1px solid rgba(192, 158, 121, 0.4);
    transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.app-icon i {
    font-size: 1.9rem;
    color: var(--gold);
    transition: color 0.35s var(--ease-out);
}

.app-card:hover .app-icon {
    transform: scale(1.08);
    background: var(--gold);
}

.app-card:hover .app-icon i {
    color: var(--white);
}

.app-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-card p {
    font-size: 0.85rem;
    color: #aebdb9;
    line-height: 1.5;
}

/* ==================== FAQ ==================== */
.faq {
    background-color: var(--cream);
    text-align: center;
}

.faq h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 44px;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #ece9e2;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.faq-item.open {
    box-shadow: var(--shadow-sm);
    border-color: rgba(192, 158, 121, 0.5);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    text-align: left;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-question i {
    color: var(--gold);
    font-size: 0.9rem;
    transition: transform 0.35s var(--ease-out);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--muted-text);
    font-size: 0.95rem;
    margin: 0;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background:
        radial-gradient(700px 360px at 80% -10%, rgba(192, 158, 121, 0.12), transparent 60%),
        var(--white);
}

.contact-section .section-subtitle {
    justify-content: center;
}

.contact-section .section-subtitle::before {
    content: '';
    height: 1px;
    width: 50px;
    background-color: var(--gold);
    display: inline-block;
}

.contact-head {
    text-align: center;
    margin-bottom: 48px;
}

.contact-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: stretch;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border: 1px solid #ece9e2;
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(192, 158, 121, 0.5);
}

.contact-card .ci {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 158, 121, 0.12);
    border: 1px solid rgba(192, 158, 121, 0.35);
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--dark-text);
}

.contact-card p,
.contact-card a {
    font-size: 0.92rem;
    color: var(--muted-text);
    line-height: 1.5;
}

.contact-card a:hover {
    color: var(--gold-dark);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 360px;
    border: 1px solid #ece9e2;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

/* fallback do mapa (usado na prévia self-contained) */
.contact-map .map-fallback {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(150deg, var(--medium-green), var(--primary-green));
    color: var(--white);
}

.contact-map .map-fallback i {
    font-size: 2.4rem;
    color: var(--gold);
}

.contact-map .map-fallback span {
    font-size: 0.95rem;
    color: #cdd8d3;
}

/* ==================== CARRINHO DE PEDIDO ==================== */
.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--medium-green);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--gold);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-green);
}

.cart-btn:not(.has-items) .cart-count {
    display: none;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 31, 27, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1200;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 380px;
    max-width: 88vw;
    background: var(--white);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #ece9e2;
}

.cart-head h3 {
    font-size: 1.2rem;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--muted-text);
}

.cart-close:hover {
    color: var(--primary-green);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 24px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0eee8;
}

.cart-item-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #dcd8ce;
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty button:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.cart-qty span {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cart-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #c0837a;
    font-size: 0.9rem;
}

.cart-remove:hover {
    color: #a5352b;
}

.cart-empty {
    text-align: center;
    color: var(--muted-text);
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 2.4rem;
    color: #d9d4c7;
    margin-bottom: 16px;
}

.cart-empty p {
    font-weight: 600;
    color: var(--dark-text);
}

.cart-empty span {
    font-size: 0.85rem;
}

.cart-foot {
    padding: 18px 24px;
    border-top: 1px solid #ece9e2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.cart-finalize {
    width: 100%;
}

.cart-clear {
    background: none;
    border: none;
    color: var(--muted-text);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-clear:hover {
    color: #a5352b;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #0b3b2e;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-logo span {
    color: var(--gold);
}

.footer-about {
    color: #aebdb9;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: #aebdb9;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aebdb9;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #aebdb9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aebdb9;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #aebdb9;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==================== FLOATING BUTTONS ==================== */
/* WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Voltar ao topo */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--gold);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* variações de direção */
.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-left.in-view,
.reveal-right.in-view {
    transform: translateX(0);
}

/* atraso escalonado para grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Placeholder para imagens ausentes (aplicado via JS) */
.img-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--medium-green), var(--primary-green));
    color: var(--gold);
    font-size: 2.2rem;
    min-height: 120px;
}

.img-placeholder::before {
    content: "\f03e";
    /* fa-image */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    opacity: 0.55;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-images {
        order: -1;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-cta .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        background-color: var(--primary-green);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transition: left 0.35s var(--ease-out);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        height: 350px;
    }

    .benefits-container {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .benefit-item {
        justify-content: flex-start;
        padding: 10px 0;
    }

    /* remove divisórias verticais no empilhamento mobile */
    .benefit-item:not(:last-child)::after {
        display: none;
    }

    .app-card {
        flex: 1 1 45%;
    }

    .inst-block {
        padding: 40px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .app-card {
        flex: 1 1 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== ACESSIBILIDADE: reduzir movimento ==================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
