﻿:root {
    --agropet-green: #006b3c;
    --agropet-green-dark: #004d2c;
    --agropet-green-medium: #168653;
    --agropet-green-light: #eaf5ef;

    --agropet-orange: #f97316;
    --agropet-orange-strong: #ff6500;
    --agropet-orange-light: #ff8a2a;

    --color-white: #ffffff;
    --color-background: #f7f9f7;
    --color-text: #171a18;
    --color-text-secondary: #626863;
    --color-border: #e1e7e3;
    --color-icon: #a7b0aa;

    --font-heading: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;

    --container-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(var(--container-width), calc(100% - 40px));
    margin-inline: auto;
}

/* Barra superior */

.top-bar {
    background: var(--agropet-green);
    color: var(--color-white);
}

.top-bar-content {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.top-bar-icon {
    font-size: 16px;
}

/* Cabeçalho */

.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    min-height: 96px;
    display: grid;
    grid-template-columns: 170px minmax(320px, 1fr) auto;
    align-items: center;
    gap: 36px;
}

.logo {
    width: 145px;
    display: block;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Busca */

.search-form {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-form:focus-within {
    border-color: var(--agropet-green-medium);
    box-shadow: 0 0 0 4px rgba(22, 134, 83, 0.08);
}

.search-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 22px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
}

.search-form input::placeholder {
    color: #8a928d;
}

.search-form button {
    width: 54px;
    height: 100%;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--agropet-green);
}

.search-form button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Conta e carrinho */

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--agropet-green-dark);
    white-space: nowrap;
}

.header-action svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action > span:not(.cart-badge) {
    display: flex;
    flex-direction: column;
}

.header-action strong {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.header-action small {
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.2;
}

.header-action:hover strong,
.header-action:hover small,
.header-action:hover {
    color: var(--agropet-orange);
}

.cart-action {
    padding-right: 2px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    left: 18px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--agropet-orange);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
}

/* Menu principal */

.main-navigation {
    border-top: 1px solid #eef1ef;
    background: var(--color-white);
}

.navigation-content {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.store-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
}

.hamburger-icon {
    color: var(--agropet-green);
    font-size: 22px;
    line-height: 1;
}

.navigation-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.navigation-links a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navigation-links a:hover {
    color: var(--agropet-orange);
}

/* Botão mobile */

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-white);
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--agropet-green);
}

/* Tablet */

@media (max-width: 1000px) {
    .header-content {
        grid-template-columns: 145px minmax(260px, 1fr) auto;
        gap: 22px;
    }

    .header-actions {
        gap: 18px;
    }

    .navigation-content {
        gap: 28px;
    }

    .navigation-links {
        gap: 22px;
    }
}

/* Mobile */

@media (max-width: 820px) {
    .header-content {
        min-height: 84px;
        grid-template-columns: 130px minmax(180px, 1fr) auto;
        gap: 16px;
    }

    .logo {
        width: 125px;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.main-navigation--open {
        display: block;
    }

    .navigation-content {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 0 22px;
    }

    .navigation-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 24px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .top-bar-content {
        min-height: 34px;
        font-size: 11px;
    }

    .header-content {
        grid-template-columns: 110px 1fr auto;
        gap: 10px;
        padding: 14px 0;
    }

    .logo {
        width: 105px;
    }

    .search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 44px;
    }

    .search-form input {
        padding-inline: 16px;
        font-size: 13px;
    }

    .search-form button {
        width: 48px;
        flex-basis: 48px;
    }
}

/* Banner principal */

.hero-section {
    padding: 20px 0 18px;
}

.hero-card {
    min-height: 540px;
    display: grid;
    grid-template-columns: 48% 52%;
    overflow: hidden;
    border: 1px solid #edf1ee;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fbfcfb 58%,
        #f5f8f6 100%
    );
    box-shadow: 0 12px 38px rgba(0, 77, 44, 0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 58px 28px 28px 58px;
}

.hero-content h1 {
    margin: 0;
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: clamp(46px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: var(--agropet-orange-strong);
}

.hero-content p {
    margin: 22px 0 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--agropet-green);
    color: var(--color-white);
}

.button-primary:hover {
    background: var(--agropet-green-dark);
}

.button-outline {
    border-color: var(--agropet-green);
    background: var(--color-white);
    color: var(--agropet-green);
}

.button-outline:hover {
    background: var(--agropet-green-light);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.hero-benefit {
    min-height: 66px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 77, 44, 0.04);
}

.hero-benefit strong {
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
}

.hero-benefit span {
    color: var(--color-text-secondary);
    font-size: 12px;
}

.hero-image {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
}

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

.hero-paw {
    position: absolute;
    opacity: 0.06;
    filter: grayscale(1);
    user-select: none;
}

.hero-paw-one {
    top: 70px;
    right: -8px;
    font-size: 48px;
    transform: rotate(15deg);
}

.hero-paw-two {
    right: 30px;
    bottom: 92px;
    font-size: 40px;
    transform: rotate(-12deg);
}

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 45px 38px 28px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-image {
        min-height: 420px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 14px;
    }

    .hero-card {
        border-radius: 20px;
    }

    .hero-content {
        padding: 34px 22px 22px;
    }

    .hero-content h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-content p br {
        display: none;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 310px;
    }
}

/* Categorias */

.categories-section {
    padding: 24px 0 34px;
}

.section-heading {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.section-heading h2 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.section-heading h2 span {
    color: var(--agropet-orange);
}

.section-arrows {
    display: flex;
    gap: 10px;
}

.section-arrows button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.section-arrows button:hover {
    border-color: var(--agropet-green);
    background: var(--agropet-green);
    color: var(--color-white);
    transform: translateY(-1px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 77, 44, 0.035);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 107, 60, 0.32);
    box-shadow: 0 14px 30px rgba(0, 77, 44, 0.10);
}

.category-image {
    position: relative;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.category-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.category-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--agropet-green-light);
    color: var(--agropet-green);
    font-size: 48px;
}

.categories-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    border: 1px dashed var(--color-border);
    border-radius: 16px;
    color: var(--color-text-secondary);
    text-align: center;
}

.category-name {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border-top: 1px solid #eef1ef;
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.category-name span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--agropet-green);
    font-size: 17px;
    line-height: 1;
}

.category-name strong {
    min-width: 0;
    font-weight: 600;
    line-height: 1.2;
}

.category-card:nth-child(5) .category-name {
    font-size: 14px;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-image {
        height: 175px;
    }
}

@media (max-width: 640px) {
    .categories-section {
        padding: 18px 0 26px;
    }

    .section-heading {
        margin-bottom: 8px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-arrows button {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-image {
        height: 138px;
    }

    .category-name {
        min-height: 52px;
        padding: 9px 6px;
        font-size: 13px;
    }

    .category-card:nth-child(5) .category-name {
        font-size: 12px;
    }
}


/* Produtos */

.products-section {
    padding: 18px 0 34px;
}

.products-tabs {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.product-tab {
    position: relative;
    padding: 10px 0 14px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
}

.product-tab-active {
    color: var(--agropet-green);
    font-size: 18px;
    font-weight: 600;
}

.product-tab-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--agropet-green);
}

.see-all {
    margin-left: auto;
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-white);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 107, 60, 0.28);
    box-shadow: 0 14px 30px rgba(0, 77, 44, 0.08);
}

.product-image {
    position: relative;
    height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--color-white);
}

.product-image > a {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
}

.badge-green {
    background: var(--agropet-green);
}

.badge-orange {
    background: var(--agropet-orange-strong);
}

.product-content {
    padding: 14px 12px 12px;
}

.product-type {
    color: #8d9490;
    font-family: var(--font-body);
    font-size: 11px;
}

.product-card h3 {
    min-height: 58px;
    margin: 4px 0 10px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.36;
}

.product-card h3 a {
    display: block;
    transition: color 0.2s ease;
}

.product-card h3 a:hover {
    color: var(--agropet-green);
}

.product-prices {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.product-prices del,
.empty-old-price {
    min-height: 20px;
    color: #929894;
    font-family: var(--font-body);
    font-size: 12px;
}

.product-prices strong {
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.product-button {
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
    border: 1px solid var(--agropet-green);
    border-radius: 9px;
    background: var(--agropet-green);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.product-button:hover {
    background: var(--agropet-green-dark);
}

.product-button-outline {
    background: var(--color-white);
    color: var(--agropet-green);
}

.product-button-outline:hover {
    background: var(--agropet-green-light);
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .products-tabs {
        flex-wrap: wrap;
        gap: 16px;
    }

    .see-all {
        width: 100%;
        margin-left: 0;
        text-align: right;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image {
        height: 180px;
    }

    .product-card h3 {
        min-height: 66px;
        font-size: 13px;
    }
}

/* Benefícios da loja */

.store-benefits-section {
    padding: 0 0 34px;
}

.store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
}

.store-benefit {
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-right: 1px solid var(--color-border);
}

.store-benefit:last-child {
    border-right: 0;
}

.store-benefit-icon {
    flex: 0 0 auto;
    color: var(--agropet-green);
    font-size: 34px;
    line-height: 1;
}

.store-benefit div:last-child {
    min-width: 0;
}

.store-benefit strong {
    display: block;
    color: var(--agropet-green);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.store-benefit span {
    display: block;
    margin-top: 4px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .store-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-benefit:nth-child(2) {
        border-right: 0;
    }

    .store-benefit:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 640px) {
    .store-benefits {
        grid-template-columns: 1fr;
    }

    .store-benefit {
        min-height: 92px;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .store-benefit:nth-child(2) {
        border-bottom: 1px solid var(--color-border);
    }

    .store-benefit:last-child {
        border-bottom: 0;
    }
}

/* Banners promocionais */

.promo-section {
    padding: 6px 0 34px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.promo-image-card {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 77, 44, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.promo-image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 77, 44, 0.10);
}

.promo-image-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.85 / 1;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 18px;
}

@media (max-width: 900px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-image-card img {
        aspect-ratio: 2.8 / 1;
    }
}

@media (max-width: 640px) {
    .promo-section {
        padding: 4px 0 26px;
    }

    .promo-grid {
        gap: 14px;
    }

    .promo-image-card,
    .promo-image-card img {
        border-radius: 14px;
    }

    .promo-image-card img {
        aspect-ratio: 2.3 / 1;
    }
}


/* Newsletter */

.newsletter-section {
    padding: 0 0 34px;
}

.newsletter-card {
    min-height: 104px;
    display: grid;
    grid-template-columns: 64px 250px 1fr minmax(340px, 1.25fr);
    align-items: center;
    gap: 20px;
    padding: 18px 30px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 6px 20px rgba(0, 77, 44, 0.035);
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--agropet-green);
    color: var(--color-white);
    font-size: 25px;
    line-height: 1;
}

.newsletter-title strong {
    display: block;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.newsletter-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
}

.newsletter-form {
    height: 46px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-background);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.newsletter-form:focus-within {
    border-color: var(--agropet-green-medium);
    box-shadow: 0 0 0 4px rgba(22, 134, 83, 0.08);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: #a0a7a3;
}

.newsletter-form button {
    min-width: 130px;
    height: 100%;
    border: 0;
    border-radius: 999px;
    background: var(--agropet-green);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--agropet-green-dark);
}

.newsletter-form button:active {
    transform: scale(0.98);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .newsletter-card {
        grid-template-columns: 64px 220px 1fr;
    }

    .newsletter-form {
        grid-column: 2 / -1;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .newsletter-card {
        grid-template-columns: 56px 1fr;
        gap: 14px;
        padding: 20px;
    }

    .newsletter-card p,
    .newsletter-form {
        grid-column: 1 / -1;
    }

    .newsletter-form {
        height: auto;
        display: grid;
        gap: 10px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .newsletter-form input,
    .newsletter-form button {
        min-height: 46px;
        border-radius: 999px;
    }

    .newsletter-form input {
        border: 1px solid var(--color-border);
        background: var(--color-background);
    }
}


/* Rodapé */

.site-footer {
    margin-top: 4px;
    padding: 30px 0 16px;
    border-top: 1px solid #eef1ef;
    background: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(150px, 1.2fr)
        minmax(120px, 1fr)
        minmax(130px, 1fr)
        minmax(190px, 1.25fr)
        minmax(180px, 1.25fr);
    align-items: start;
    gap: 38px;
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-logo {
    display: block;
    width: 118px;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    margin: 14px 0 16px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.55;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--agropet-green);
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.social-links a:hover {
    color: var(--agropet-orange);
    transform: translateY(-2px);
}

.social-links svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-links a:nth-child(3) svg,
.social-links a:nth-child(4) svg {
    fill: currentColor;
    stroke: none;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: var(--agropet-green-dark);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.footer-column a,
.footer-column span,
.footer-column p {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

.footer-column a {
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--agropet-orange);
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.footer-contact svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 1px;
    fill: none;
    stroke: var(--agropet-green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-payments-column {
    align-items: flex-start;
}

.footer-payment-image {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 2px 0 8px;
    object-fit: contain;
    object-position: left center;
}

/* Faixa inferior */

.footer-security {
    min-height: 54px;
    margin-top: 26px;
    padding: 8px 18px;
    display: grid;
    grid-template-columns:
        120px
        165px
        115px
        minmax(180px, 1fr)
        28px;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--color-border);
    border-radius: 13px;
    background: var(--color-background);
}

.footer-security-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-security-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-security-logo-site img {
    max-height: 31px;
}

.footer-security-logo-google img {
    max-height: 31px;
}

.footer-security-logo-ra img {
    max-height: 31px;
}

.footer-copyright {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 9px;
    line-height: 1.4;
    text-align: right;
}

.footer-paw {
    justify-self: end;
    color: #d4dad6;
    font-size: 24px;
    line-height: 1;
    filter: grayscale(1);
    opacity: 0.85;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }

    .footer-security {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-copyright {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-paw {
        display: none;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding-top: 26px;
    }

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

    .footer-security {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-security-logo img {
        max-height: 34px;
    }

    .footer-copyright {
        grid-column: auto;
    }
}
