/* ============================================================
   FONTES DO SITE  (único ponto de troca de fonte deste site)
   Este site: Inter (texto, arquivos estáticos 300/400/700) + Sora
   (h1 e h2, 600/700), subset latin, self hosted em assets/fonts/.

   Para trocar a fonte de um cliente:
   1. Coloque os novos .woff2 em assets/fonts/ (subset latin, formato variável
      de preferência).
   2. Ajuste os @font-face abaixo e os tokens --font-body / --font-title no :root.
   3. Não use <link rel="preload"> em containers/head.inc: o service worker
      responde a fonte pelo Cache Storage e o navegador descarta o preload.
   ============================================================ */
/* Inter em arquivos estáticos (300, 400 e 700), os mesmos do site do Vallo's Barbershop:
   em tamanho pequeno e texto claro sobre fundo escuro, desenham mais limpo que o
   arquivo variável. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    /* optional (não swap): se a fonte não chegar a tempo do primeiro paint, o
       navegador fica na fonte de fallback em vez de trocar depois, evitando o reflow de CLS que a troca
       tardia causaria. Confirmado na prática na Débora Reis: CLS 0.177 no
       PageSpeed virou 0 (Desempenho 100) só com essa troca. */
    font-display: optional;
    src: url('../fonts/inter-light.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('../fonts/inter-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('../fonts/inter-bold.woff2') format('woff2');
}

/* Sora (600 e 700): títulos */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/sora-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/sora-700.woff2') format('woff2');
}

:root {
    color-scheme: light;

    /* Fontes (ver bloco FONTES no topo deste arquivo) */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-title: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Escala tipográfica (um valor por conceito de conteúdo; usar sempre estes tokens,
       nunca font-size no olho dentro dos blocos). Sora só em h1/h2;
       todo o resto herda Inter. */
    --fs-caption: 0.8rem;                                     /* legenda, chip, meta-texto pequeno */
    --fs-eyebrow: 0.8rem;                                     /* rótulo acima do título da seção */
    --fs-body: 0.9rem;                                        /* texto corrido padrão: parágrafo, lista, rodapé */
    --bs-body-font-size: var(--fs-body);                      /* tamanho base do body do Bootstrap (1rem por padrão) segue o --fs-body */
    --fs-subtitle: 0.9rem;                                    /* texto de destaque secundário / subtítulo */
    --fs-lead: 0.9rem;                                        /* lead da seção e leads em geral */
    --lh-body: 1.65;                                          /* altura de linha do texto de conteúdo de cards e itens */
    --fs-card-title: 1rem;                                    /* título de card / item (h3), igual em todas as seções */
    --fs-title: clamp(1.75rem, 1.2rem + 2.2vw, 2.375rem);     /* título de seção (h2) */

    /* Background */
    --bg-navbar: #FFFFFF;
    --bg-dark: var(--primary);                                 /* verde-escuro do nome nas artes */
    --bg-light: #F0E8D8;                                       /* bege do fundo da arte de divulgação */
    --white: #ffffff;
    --black: #000000;
    --section-bg: var(--white);

    /* Offsets */
    --navbar-offset: 80px;
    --section-scroll-offset: 125px;

    /* Elementos principais */
    --primary: #14532D;
    --secondary: #387E28;
    --accent-on-dark: #A8D88A;                                 /* destaque sobre --bg-dark (verde-claro das folhas), contraste AA */
    --accent-water: #159AE9;                                   /* azul das gotas do logo */
    --primary-hover: color-mix(in srgb, var(--primary) 80%, #000000);

    --link-navbar: var(--primary);
    --link-navbar-hover: var(--accent-water);
    --link-on-light: var(--primary);
    --link-on-light-hover: var(--accent-water);
    --link-on-dark: var(--text-on-dark);
    --link-on-dark-hover: var(--accent-water);

    --bg-accordion-open: #eef5ea;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.85);          /* texto secundário sobre fundo escuro, com contraste real */
    --text-on-dark-subtle: rgba(255, 255, 255, 0.7);           /* texto terciário/legenda sobre fundo escuro */
    --text-on-light: #212529;
    --text-muted: #6c757d;                                     /* só pra texto de verdade secundário sobre fundo claro */

    --hr: var(--secondary);
    --arrow: var(--primary);
    --whatsapp: #25d366;
    --whatsapp-hover: #1ebe5b;

    /* Utilitarios */
    --border: #00000026;
    --faq-border: #d9d6d2;

    /* Card e imagem de conteúdo (fora de card/background): um único padrão de
       borda, arredondamento e sombra de hover pra tudo, nunca valor no olho
       dentro do bloco. Formas intencionalmente diferentes (círculo, pill,
       moldura de cor de marca) continuam sendo exceção documentada. */
    --card-radius: var(--bs-border-radius);
    --card-border: 1px solid rgba(0, 0, 0, 0.08);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

    --focus-ring: rgba(45, 54, 84, 0.25);
    --focus-ring-soft: rgba(45, 54, 84, 0.2);
    
    --hero-1-bg: var(--primary-hover);
    --hero-1-overlay-dark-1: rgba(0, 0, 0, 0.6);
    --hero-1-overlay-dark-2: rgba(0, 0, 0, 0.5);
    --hero-1-overlay-dark-3: rgba(0, 0, 0, 0.2);
    --hero-1-overlay-light-1: rgba(255, 255, 255, 0.78);
    --hero-1-overlay-light-2: rgba(255, 255, 255, 0.6);
    --hero-1-overlay-light-3: rgba(255, 255, 255, 0.35);
    
    --hero-2-bg-start: #f7f9fc;
    --hero-2-bg-end: #eef3fb;
    
    --about-3-overlay-1: rgba(0, 0, 0, 0.4);
    --about-3-overlay-2: rgba(0, 0, 0, 0.1);
    
    
    --carousel-bg: var(--black);
    --carousel-caption-overlay: rgba(0, 0, 0, 0.45);
    --carousel-caption-mobile-bg: #2D3654;
    
    --one-anim-duration: 1.2s;
}

/* Base */
* {
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

/* Setas, indicadores e visualizador em tela cheia dos carrosséis: sem o zoom de
   toque duplo do iOS, para toques seguidos não ampliarem a página (a pinça continua) */
.carousel-control-prev,
.carousel-control-next,
[data-bs-slide-to],
[data-one-slide],
[data-one-slide-to],
[data-one-gallery-viewer] {
    touch-action: manipulation;
}

html {
    background-color: var(--bg-light);
}

body {
    margin-top: var(--navbar-offset);
    background-color: var(--bg-navbar);
    font-family: var(--font-body);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sora só nos títulos de nível 1 e 2; o resto herda Inter */
h1, h2, .h1, .h2 {
    font-family: var(--font-title);
}

h3, h4, h5, h6,
.h3, .h4, .h5, .h6 {
    font-family: var(--font-body);
}

/* ============================================================
   ESCALA TIPOGRÁFICA POR CONCEITO
   Normaliza tamanho e alinhamento das áreas de conteúdo. Cada
   conceito tem um único valor, vindo dos tokens --fs-* do :root.
   ============================================================ */

/* Nota: seletores escopados em `section` (não `main > section`), porque em modo
   debug cada bloco é envolto em <div class="one-debug-section"> e deixa de ser
   filho direto de <main>. */

/* ---- Cabeçalho de seção ----
   Padrão único de eyebrow + título + lead, montado por
   containers/partials/section-head.inc. Sempre centralizado. */
.one-section-head {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    text-align: center;
}

.one-section-eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.one-section-title {
    font-family: var(--font-title);
    font-size: var(--fs-title);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.one-section-lead {
    font-family: var(--font-body);
    font-size: var(--fs-lead);
    font-weight: 400;
    line-height: 1.6;
    margin: 1rem 0 0;
}

section.one-bg-dark .one-section-eyebrow {
    color: var(--text-on-dark);
}

/* ---- Demais títulos e leads ---- */

/* Título de seção fora do padrão de cabeçalho (h2 visível solto numa seção).
   :where() em volta das exceções zera a especificidade delas: sem isso, os
   dois :not() juntos ficam mais específicos que qualquer classe de componente
   sozinha (ex.: .h5, .one-brands-marquee-label-text), e essa regra genérica
   vencia por cima do tamanho/peso que o componente pedia. */
section h2:not(:where(.visually-hidden, .one-section-title)) {
    font-family: var(--font-title);
    font-size: var(--fs-title);
    font-weight: 700;
    line-height: 1.2;
}

/* Leads de corpo (layout dividido texto + imagem): normaliza só o tamanho.
   Heros ficam de fora: têm escala própria. */
section:not([class*="hero"]) .lead {
    font-size: var(--fs-lead);
    font-weight: 400;
}

/* Título de card / item: heading (normalmente h3) que carrega classe de tamanho
   do Bootstrap. Um único tamanho no lugar do h4/h5/h6 solto de cada bloco. */
section :is(h2, h3, h4, h5, h6).h3,
section :is(h2, h3, h4, h5, h6).h4,
section :is(h2, h3, h4, h5, h6).h5,
section :is(h2, h3, h4, h5, h6).h6,
section :is(h3, h4, h5, h6).card-title {
    font-size: var(--fs-card-title);
    line-height: 1.3;
}

/* Sobreposição de 1px entre seções para esconder a linha entre fundos de cores
   diferentes. Em modo debug a seção fica dentro de <div class="one-debug-section">. */
main > section,
.one-debug-section > section {
    margin-bottom: -1px;
}

[id] {
    scroll-margin-top: var(--navbar-offset);
}

/* Acessibilidade: foco */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
.btn:focus,
.btn:focus-visible,
.form-control:focus,
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem var(--focus-ring);
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    background-color: var(--bg-navbar) !important;
    min-height: var(--navbar-offset);
    /* Mesmo peso e suavização da navbar do Vallo's Barbershop: o peso 300 do body
       com antialiased deixa os links finos demais */
    font-weight: 400;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    transition: transform 0.3s ease;
}

.navbar.one-navbar-hidden {
    transform: translateY(-100%);
}

/* Opcional, desligado por padrão: só ativa com a classe one-navbar-transparent
   na navbar (ver comentário em containers/navbar.inc) */
.navbar.one-navbar-transparent {
    background-color: color-mix(in srgb, var(--bg-navbar) 90%, transparent) !important;
}

@media (max-width: 991.98px) {
    /* Só com o menu aberto (segunda linha do flex-wrap somada): sem isso, o logo e os
       botões sobem, porque o min-height do .navbar sustenta a altura da barra enquanto
       ela é a única linha de conteúdo; com o menu aberto, cada linha do flex-wrap passa
       a valer pela altura do próprio conteúdo. Escopado só ao estado aberto (:has) pra
       não voltar a apertar o respiro do logo quando o menu está fechado. */
    .navbar:has(.navbar-collapse.show, .navbar-collapse.collapsing) .one-navbar-brand,
    .navbar:has(.navbar-collapse.show, .navbar-collapse.collapsing) .one-navbar-mobile-actions {
        min-height: var(--navbar-offset);
    }
}

.navbar .nav-link {
    transition: color 0.5s ease;
    color: var(--link-navbar);
    position: relative;
    /* Mesmo tamanho dos links do rodapé (ver .one-footer-links a) */
    font-size: var(--fs-caption);
}

.navbar .navbar-brand {
    color: var(--link-navbar);
}

/* Botão de WhatsApp só com ícone (mobile, ao lado do hambúrguer): mesma caixa do
   .navbar-toggler do Bootstrap (padding .25rem .75rem, font-size 1.25rem, line-height 1)
   e ícone numa área de 1.5em, igual ao .navbar-toggler-icon, para os dois terem sempre o
   mesmo tamanho. Com .navbar na frente, vence o padding de .one-btn-whatsapp, que vem
   depois no arquivo. */
.navbar .one-navbar-mobile-whatsapp {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
}

.navbar .one-navbar-mobile-whatsapp .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
}

.navbar .navbar-toggler {
    color: var(--link-navbar);
    border-color: color-mix(in srgb, var(--link-navbar) 35%, transparent);
}

.navbar .navbar-toggler:hover,
.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:focus-visible {
    color: var(--link-navbar-hover);
    border-color: color-mix(in srgb, var(--link-navbar-hover) 40%, transparent);
}

.navbar .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.navbar .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0.2em;
    right: 0.2em;
    top: 0.34em;
    height: 0.12em;
    border-radius: 0.25rem;
    background-color: currentColor;
    box-shadow: 0 0.35em 0 currentColor, 0 0.7em 0 currentColor;
}

.navbar .nav-link:hover {
    color: var(--link-navbar-hover);
}

.navbar .dropdown-menu {
    background-color: var(--bg-navbar);
    border: 0;
    min-width: 18rem;
    max-height: min(72vh, 40rem);
    overflow-y: auto;
}

.navbar .dropdown-item {
    color: var(--link-navbar);
}

.navbar .dropdown-header {
    color: var(--link-navbar-hover);
    font-size: var(--fs-caption);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.navbar .dropdown-divider {
    border-top-color: color-mix(in srgb, var(--link-navbar) 18%, transparent);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    color: var(--white);
    background-color: transparent;
}

.navbar .nav-link:focus,
.navbar .nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem var(--focus-ring-soft);
}

/* Lockup da marca (logo + nome + subtítulo). Mesmo lockup na navbar e na
   primeira coluna do rodapé, por isso as regras não são escopadas em .navbar. */
.one-navbar-brand-text {
    min-width: 0;
}

.one-navbar-brand-title {
    line-height: 1.1;
}

.one-navbar-brand-subtitle {
    line-height: 1.1;
}

.one-navbar-brand-logo {
    max-height: 57px;
    width: auto;
}

@media (min-width: 992px) {
    /* Centraliza os itens na altura da navbar (o botão FAZER PEDIDO é mais alto
       que os links, e o padrão do flex é esticar os itens em vez de centralizar) */
    .navbar .navbar-nav {
        align-items: center;
        --bs-navbar-nav-link-padding-x: 0.7rem;
    }

    /* Hover dos links: linha animada abaixo do texto */
    /* Linha centralizada sob o texto, crescendo do centro para os lados: não depende
       do padding horizontal do .nav-link, que deslocava a linha para a esquerda do texto */
    .navbar .nav-link:not(.one-navbar-brand)::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;
        width: 24px;
        height: 3px;
        background: var(--link-navbar-hover);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .navbar .nav-link:not(.one-navbar-brand):hover::after,
    .navbar .nav-link:not(.one-navbar-brand):focus-visible::after {
        transform: translateX(-50%) scaleX(1);
    }
}

@media (max-width: 991.98px) {
    /* Espaço para o botão de WhatsApp e o hambúrguer (cerca de 56px cada, com gap) ao lado da marca */
    .navbar .one-navbar-brand {
        max-width: calc(100% - 130px);
    }

    .navbar .one-navbar-brand-title {
        font-size: var(--fs-subtitle);
    }

    .navbar .one-navbar-brand-subtitle {
        font-size: var(--fs-caption);
    }
}

@media (max-width: 576px) {
    .navbar .one-navbar-brand-logo {
        max-height: 48px;
    }

    .navbar .one-navbar-brand-title {
        font-size: var(--fs-subtitle);
    }

    .navbar .one-navbar-brand-subtitle {
        font-size: var(--fs-caption);
    }
}

/* Numbers 2 */
.one-numbers-2-item {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.one-numbers-2-item-water {
    border-left-color: var(--accent-water);
}

.one-numbers-2-value {
    font-size: clamp(1.5rem, 1rem + 1.8vw, 2rem);
    line-height: 1.1;
}

.one-numbers-2-label {
    font-size: var(--fs-eyebrow);
    margin-top: 0.35rem;
    opacity: 0.7;
}

/* Who 7: grid com imagem emoldurada (borda deslocada) + texto */
.one-who-7-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .one-who-7-grid {
        grid-template-columns: 315px minmax(320px, 1fr);
        gap: 4rem;
    }
}

.one-who-7-image-wrap {
    position: relative;
    max-width: 315px;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .one-who-7-image-wrap {
        width: 315px;
        max-width: none;
        margin-inline: 0;
    }
}

.one-who-7-image-border {
    position: absolute;
    inset: -20px -20px 20px 20px;
    border: 1px solid var(--primary);
    border-radius: var(--card-radius);
    z-index: 0;
}

.one-who-7-image-clip {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 800 / 1200;
    border-radius: var(--card-radius);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.25);
}

.one-who-7-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.one-who-7-image-clip:hover .one-who-7-img {
    transform: scale(1.05);
}

.one-who-7-text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* Who 3: checklist "Como trabalhamos", reaproveitado dentro do who-7 */
.one-who-7-grid h3.h5 {
    font-size: var(--fs-body);
}

.one-who-3-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
}

.one-who-3-list i {
    flex: 0 0 auto;
    width: 1.25rem;
    margin-top: 0.15rem;
}

.one-who-3-list span {
    display: block;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* FAQ 2 - accordion minimalista: itens sem preenchimento, hairline fina, toggle
   "+"/"-" na cor de destaque, cabeçalho centralizado em col-xl-8. Adapta ao tom
   da seção (claro ou escuro) via currentColor. */
.one-faq-2 .accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.one-faq-2 .accordion-item {
    border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    background-color: transparent;
    overflow: hidden;
}

.one-faq-2 .accordion-button {
    background-color: transparent;
    color: currentColor;
    /* Mesmo estilo do título dos cards (--fs-card-title, peso 700) */
    font-weight: 700;
    font-size: var(--fs-card-title);
    line-height: 1.3;
    padding: 20px 24px;
}

.one-faq-2 .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: currentColor;
    box-shadow: none;
}

.one-faq-2 .accordion-button::after {
    background-image: none;
    content: '+';
    width: auto;
    height: auto;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary);
    transform: none;
}

.one-faq-2 .accordion-button:not(.collapsed)::after {
    content: '\2212';
    transform: none;
}

/* Anel de foco só na navegação por teclado: no clique, a pergunta fica sem contorno */
.one-faq-2 .accordion-button:focus {
    box-shadow: none;
    border-color: inherit;
}

.one-faq-2 .accordion-button:focus-visible {
    box-shadow: 0 0 0 0.2rem var(--focus-ring-soft);
}

.one-faq-2 .accordion-body {
    padding: 0 24px 22px;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* Links gerais */
a {
    color: var(--link-on-light);
}

a:hover,
a:focus {
    color: var(--link-on-light-hover);
}

/* Rodape: todo o texto no mesmo tamanho (--fs-caption), inclusive os títulos de coluna (h5) */
footer,
footer :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, li) {
    font-size: var(--fs-caption);
}

/* Títulos das colunas do rodapé na mesma fonte do texto (o h2 herdaria a Sora dos títulos) */
footer :is(h1, h2, .h1, .h2) {
    font-family: var(--font-body);
}

/* Linha acima do rodapé e na régua antes do copyright, na cor de destaque */
footer {
    border-top: 1px solid var(--hr);
}

footer hr {
    border: 0;
    border-top: 1px solid var(--hr);
    opacity: 1;
}

footer a {
    transition: color 0.5s ease;
    color: var(--link-navbar);
    text-decoration: none;
}

.one-footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.one-footer-links li:last-child {
    margin-bottom: 0;
}

.one-footer-links i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.one-footer-links a {
    display: block;
    /* Mesmo tamanho dos links da navbar (ver .navbar .nav-link) */
    font-size: var(--fs-caption);
}

/* Footer subitems: slightly tighter vertical rhythm */
.one-footer-links li.ms-2 {
    margin-bottom: 0.2rem;
}

.one-footer-links li.ms-2 a {
    line-height: 1.3;
}

footer a:hover {
    color: var(--link-navbar-hover);
}

/* Debug blocks */
.one-debug-section {
    position: relative;
}

.one-debug-label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--white);
    background: rgba(13, 110, 253, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 0.35rem;
    padding: 0.3rem 0.45rem;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.one-debug-label:hover,
.one-debug-label:focus {
    color: var(--white);
    text-decoration: underline;
}

footer.one-bg-dark a {
    color: var(--link-on-dark) !important;
}

footer.one-bg-dark a:hover,
footer.one-bg-dark a:focus {
    color: var(--link-on-dark-hover) !important;
}

footer.one-bg-dark .text-primary {
    color: var(--text-on-dark) !important;
}

/* Seções (background) */
section.one-bg-dark,
footer.one-bg-dark {
    --section-bg: var(--bg-dark);
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

/* Texto claro sobre fundo escuro em peso 400 e sem antialiased: o corpo em 300
   e o antialiased do body afinam e serrilham as letras claras em tamanho pequeno */
section.one-bg-dark,
footer.one-bg-dark,
section.one-hero-9.one-hero-tone-dark {
    font-weight: 400;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

section.one-bg-light,
footer.one-bg-light {
    --section-bg: var(--bg-light);
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

section.one-bg-dark h1,
section.one-bg-dark h2,
section.one-bg-dark h3,
section.one-bg-dark h4,
section.one-bg-dark h5,
section.one-bg-dark h6,
footer.one-bg-dark h1,
footer.one-bg-dark h2,
footer.one-bg-dark h3,
footer.one-bg-dark h4,
footer.one-bg-dark h5,
footer.one-bg-dark h6 {
    color: inherit;
}

/* Lead: contraste consistente em seções escuras */
section.one-bg-dark .lead {
    color: var(--text-on-dark) !important;
}

/* Exceção: quando o lead estiver em bloco claro, usar texto escuro */
section.one-bg-dark .bg-white .lead {
    color: var(--text-on-light) !important;
}

/* Blocos claros dentro de seção escura: garantir texto escuro */
section.one-bg-dark .bg-white {
    color: var(--text-on-light) !important;
}

/* Exceções para conteúdo dentro de cards claros em seções escuras */
section.one-bg-dark .card .lead {
    color: var(--text-on-light) !important;
}

section.one-bg-dark .card .text-primary {
    color: var(--primary) !important;
}

/* Superfícies claras dentro de seção escura devem manter contraste de seção clara.
   :not(.btn) evita vazar cor de link pra dentro de um botão (ex.: WhatsApp verde
   com texto branco) quando ele está dentro de um card/accordion claro. */
section.one-bg-dark .card a:not(.btn),
section.one-bg-dark .bg-white a:not(.btn),
section.one-bg-dark .accordion-item a:not(.btn),
section.one-bg-dark .accordion-button a:not(.btn),
section.one-bg-dark .accordion-body a:not(.btn) {
    color: var(--link-on-light) !important;
}

section.one-bg-dark .card a:not(.btn):hover,
section.one-bg-dark .card a:not(.btn):focus,
section.one-bg-dark .bg-white a:not(.btn):hover,
section.one-bg-dark .bg-white a:not(.btn):focus,
section.one-bg-dark .accordion-item a:not(.btn):hover,
section.one-bg-dark .accordion-item a:not(.btn):focus,
section.one-bg-dark .accordion-button a:not(.btn):hover,
section.one-bg-dark .accordion-button a:not(.btn):focus,
section.one-bg-dark .accordion-body a:not(.btn):hover,
section.one-bg-dark .accordion-body a:not(.btn):focus {
    color: var(--link-on-light-hover) !important;
}

section.one-bg-dark .accordion-button.text-primary,
section.one-bg-dark .accordion-item .text-primary,
section.one-bg-dark .accordion-body .text-primary,
section.one-bg-dark .card .text-primary,
section.one-bg-dark .bg-white .text-primary {
    color: var(--primary) !important;
}

/* Contraste por contexto de fundo */
section.one-bg-dark a:not(.btn) {
    color: var(--link-on-dark) !important;
}

section.one-bg-dark a:not(.btn):hover,
section.one-bg-dark a:not(.btn):focus {
    color: var(--link-on-dark-hover) !important;
}

section.one-bg-light a:not(.btn) {
    color: var(--link-on-light) !important;
}

section.one-bg-light a:not(.btn):hover,
section.one-bg-light a:not(.btn):focus {
    color: var(--link-on-light-hover) !important;
}

section.one-bg-dark .text-primary,
footer.one-bg-dark .text-primary {
    color: var(--text-on-dark) !important;
}

section.one-bg-dark .one-btn-primary,
section.one-bg-dark .one-btn-primary:hover,
section.one-bg-dark .one-btn-primary:focus,
section.one-bg-dark .one-btn-primary:active,
section.one-bg-dark .one-btn-primary:focus-visible {
    background-color: var(--text-on-dark);
    border-color: var(--text-on-dark);
    color: var(--bg-dark);
}

/* Card claro dentro de seção escura: o botão mantém a cor de marca normal,
   igual a um botão em seção clara (mesma lógica de .card/.bg-white acima) */
section.one-bg-dark .one-contact-4-form-card .one-btn-primary,
section.one-bg-dark .one-contact-4-form-card .one-btn-primary:hover,
section.one-bg-dark .one-contact-4-form-card .one-btn-primary:focus,
section.one-bg-dark .one-contact-4-form-card .one-btn-primary:active,
section.one-bg-dark .one-contact-4-form-card .one-btn-primary:focus-visible {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-dark);
}

section.one-bg-dark .one-btn-outline,
section.one-bg-dark .one-btn-outline:hover,
section.one-bg-dark .one-btn-outline:focus,
section.one-bg-dark .one-btn-outline:active,
section.one-bg-dark .one-btn-outline:focus-visible {
    color: var(--text-on-dark);
    border-color: var(--text-on-dark);
    background-color: transparent;
}

/* Tipografia e botoes */
.text-primary {
    color: var(--primary) !important;
}

/* Base de TODOS os botões: conteúdo (ícone + texto) sempre centralizado, cantos
   no arredondamento padrão do Bootstrap (o mesmo do botão do menu mobile; usar
   .rounded-circle na marcação pra botão redondo), sobem 2px no hover, sem
   sombra e sem mudar de cor. Mexer aqui muda o comportamento em 100% do site de uma vez só. */
.btn {
    --bs-btn-font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn:focus-visible {
    outline: 1px solid var(--primary);
    outline-offset: 3px;
}

/* Botões: sempre .btn + uma destas: .one-btn-primary, .one-btn-outline ou
   .one-btn-whatsapp. Nunca as classes do Bootstrap (btn-primary etc). */
.one-btn-primary,
.one-btn-primary:hover,
.one-btn-primary:focus,
.one-btn-primary:active,
.one-btn-primary:focus-visible {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    padding: 12px 20px;
    font-size: 14px;
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-dark);
}

/* Com contorno: cor de marca, sem fundo */
.one-btn-outline,
.one-btn-outline:hover,
.one-btn-outline:focus,
.one-btn-outline:active,
.one-btn-outline:focus-visible {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

/* WhatsApp: mesma base tipográfica acima, só muda a cor */
.one-btn-whatsapp,
.one-btn-whatsapp:hover,
.one-btn-whatsapp:focus,
.one-btn-whatsapp:active,
.one-btn-whatsapp:focus-visible {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    padding: 12px 20px;
    font-size: 14px;
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: var(--white);
}

/* Base de todo .card (Bootstrap) do site: mesma borda, arredondamento e
   sombra sempre, sem precisar de classe própria por bloco nem de utilitário
   Bootstrap (.shadow/.shadow-sm/.border-0/.rounded-*) na marcação — remover
   esses utilitários dos .inc quando aparecerem, não empilhar por cima. Mexer
   aqui muda 100% dos cards de uma vez só — mesma lógica do sistema de botões. */
.card {
    border-radius: var(--card-radius);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

/* Sem isso, a imagem do topo do card fica com canto quadrado por cima do
   canto arredondado do .card (não uso overflow:hidden aqui porque alguns
   cards têm elemento posicionado de propósito vazando pra fora, ex.:
   .one-price-2-badge). */
.card-img-top {
    border-top-left-radius: var(--card-radius);
    border-top-right-radius: var(--card-radius);
}

/* Utilitarios */
/* Separador de seções com ícone de folhas ou gotas */
.one-section-divider[data-one] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 max(10%, calc((100% - 900px) / 2));
    background-color: var(--bg-light);
    opacity: 1;
}

.one-section-divider::before,
.one-section-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--primary);
    opacity: 0.35;
    transform: scaleX(0);
    transition: transform 0.9s ease-out 0.2s;
}

.one-section-divider::before {
    transform-origin: right center;
}

.one-section-divider::after {
    transform-origin: left center;
}

.one-section-divider img {
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.one-section-divider.one-in-view::before,
.one-section-divider.one-in-view::after {
    transform: scaleX(1);
}

.one-section-divider.one-in-view img {
    opacity: 1;
}

.one-section-divider-folhas.one-in-view img {
    animation: one-divider-folhas 1.2s ease-out;
}

.one-section-divider-gotas.one-in-view img {
    animation: one-divider-gotas 0.9s ease-out;
}

@keyframes one-divider-folhas {
    0% { transform: translate(-12px, -16px) rotate(-35deg); }
    35% { transform: translate(6px, -6px) rotate(18deg); }
    65% { transform: translate(-3px, 0) rotate(-8deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

@keyframes one-divider-gotas {
    0% { transform: translateY(-28px) scale(0.6); }
    55% { transform: translateY(0) scale(1.15, 0.85); }
    75% { transform: translateY(-6px) scale(0.95, 1.05); }
    100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .one-section-divider::before,
    .one-section-divider::after {
        transform: scaleX(1);
        transition: none;
    }

    .one-section-divider img {
        opacity: 1;
        animation: none;
    }
}

/* Faixa fina abaixo da navbar: some no topo, aparece ao iniciar o scroll */
.one-scroll-banner {
    position: fixed;
    top: var(--navbar-offset);
    left: 0;
    width: 100%;
    z-index: 1020;
    background-color: var(--primary);
    border-bottom: 1px solid var(--white);
    color: var(--text-on-dark);
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 12px;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.one-scroll-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Botoes flutuantes */
.one-arrow {
    background-color: var(--arrow);
    color: var(--white);
    border: 2px solid var(--white);
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 1090;
    box-shadow: 0 4px 8px var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 2s ease;
}

.one-arrow.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.one-arrow:hover,
.one-arrow:focus,
.one-arrow:active,
.one-arrow:visited {
    transform: scale(1.1);
    text-decoration: none;
    color: var(--white);
    background-color: var(--arrow);
    border: 2px solid var(--white);
}

.one-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 1090;
    box-shadow: 0 4px 8px var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.one-whatsapp:hover {
    transform: scale(1.1);
    text-decoration: none;
    background-color: var(--whatsapp);
    color: var(--white);
}

.one-whatsapp:focus,
.one-whatsapp:focus-visible,
.one-whatsapp:active,
.one-whatsapp:visited {
    color: var(--white);
    background-color: var(--whatsapp);
}

/* Botão flutuante do Instagram: empilhado acima do WhatsApp */
.one-instagram-float {
    position: fixed;
    bottom: 84px;
    right: 20px;
    background-color: var(--arrow);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 1090;
    box-shadow: 0 4px 8px var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.one-instagram-float:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: var(--white);
    background-color: var(--arrow);
}

.one-instagram-float:focus,
.one-instagram-float:focus-visible,
.one-instagram-float:active,
.one-instagram-float:visited {
    color: var(--white);
    background-color: var(--arrow);
}

/* Icones sociais */
.one-social-icon.btn-outline-secondary {
    background-color: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
    box-shadow: none;
}

footer.one-bg-light .one-social-icon.btn-outline-secondary {
    color: var(--link-navbar) !important;
    border-color: var(--link-navbar);
}

.one-social-icon.btn-outline-secondary:hover {
    background-color: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
    box-shadow: none;
}

footer.one-bg-light .one-social-icon.btn-outline-secondary:hover {
    background-color: color-mix(in srgb, var(--link-navbar-hover) 12%, transparent);
    color: var(--link-navbar-hover) !important;
    border-color: var(--link-navbar-hover);
}

.one-social-icon.btn-outline-secondary:focus,
.one-social-icon.btn-outline-secondary:focus-visible,
.one-social-icon.btn-outline-secondary:active {
    background-color: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--focus-ring-soft);
}

footer.one-bg-light .one-social-icon.btn-outline-secondary:focus,
footer.one-bg-light .one-social-icon.btn-outline-secondary:focus-visible,
footer.one-bg-light .one-social-icon.btn-outline-secondary:active {
    background-color: color-mix(in srgb, var(--link-navbar-hover) 12%, transparent);
    color: var(--link-navbar-hover) !important;
    border-color: var(--link-navbar-hover);
    box-shadow: 0 0 0 0.2rem var(--focus-ring-soft);
}

.one-counter-number {
    font-variant-numeric: tabular-nums;
}

/* Avisos */
#one-copy {
    height: 20px;
    font-size: 0.5rem;
}

/* Animacoes (data-one) */
[data-one] {
    opacity: 0;
    transition: opacity var(--one-anim-duration) ease-out, transform var(--one-anim-duration) ease-out;
}

[data-one].one-in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-one="fade-up"] {
    transform: translateY(60px);
}

[data-one="fade-up"].one-in-view {
    transform: translateY(0);
}

[data-one="zoom-in"] {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity var(--one-anim-duration) ease-out,
    transform var(--one-anim-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

[data-one="zoom-in"].one-in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* 404 */
.one-404-illustration {
    width: 100%;
    max-width: 30rem;
    margin: 0 auto 1.5rem;
}

.one-404-illustration-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.one-404-illustration-group {
    position: absolute;
    inset: 0;
    transform: scale(0.75);
    transform-origin: center center;
}

.one-404-illustration-window,
.one-404-illustration-logo,
.one-404-illustration-base {
    position: absolute;
    display: block;
}

.one-404-illustration-window {
    top: 27%;
    left: 45%;
    width: 44.5%;
    height: 44.5%;
    overflow: hidden;
    z-index: 1;
}

.one-404-illustration-logo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.one-404-illustration-base {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Campo honeypot anti-spam, usado por contact-4.inc */
.one-fax {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Coverage 1 */
.one-coverage-1 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--primary-hover) 0%, var(--primary) 100%);
}

.one-coverage-1-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, .08);
    color: var(--text-on-dark-muted);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.one-coverage-1-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    flex-shrink: 0;
    align-self: center;
    animation: one-coverage-pulse 1.8s ease-in-out infinite;
}

@keyframes one-coverage-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(37, 211, 102, 0); }
}

.one-coverage-1-title {
    font-size: var(--fs-title);
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

.one-coverage-1-lead {
    font-size: var(--fs-lead);
    color: var(--text-on-dark-muted);
    line-height: 1.6;
}

.one-coverage-1-region-label {
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-on-dark-subtle);
    text-transform: uppercase;
    white-space: nowrap;
}

.one-coverage-1-region-rule {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, .12);
}

.one-coverage-1-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text-on-dark);
    font-size: var(--fs-body);
    font-weight: 700;
}

.one-coverage-1-chip .bi-check-lg {
    color: var(--whatsapp);
    font-size: 0.813rem;
}

.one-coverage-1-not-found {
    font-size: var(--fs-caption);
    color: var(--text-on-dark);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.one-coverage-1-not-found:hover {
    color: var(--link-on-dark-hover);
}

.one-coverage-1-not-found .bi-whatsapp {
    color: var(--whatsapp);
}

/* Coverage 1 em fundo claro (com one-bg-light): troca o degradê azul pelo fundo
   claro e passa textos, selos e linhas para as cores de fundo claro */
section.one-coverage-1.one-bg-light {
    background: var(--bg-light);
}

section.one-coverage-1.one-bg-light .one-coverage-1-eyebrow {
    border-color: var(--border);
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    color: var(--primary);
}

section.one-coverage-1.one-bg-light .one-coverage-1-title {
    color: var(--text-on-light);
}

section.one-coverage-1.one-bg-light .one-coverage-1-lead {
    color: var(--text-on-light);
}

section.one-coverage-1.one-bg-light .one-coverage-1-region-label {
    color: var(--text-muted);
}

section.one-coverage-1.one-bg-light .one-coverage-1-region-rule {
    background: var(--border);
}

section.one-coverage-1.one-bg-light .one-coverage-1-chip {
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    border-color: var(--border);
    color: var(--text-on-light);
}

section.one-coverage-1.one-bg-light .one-coverage-1-chip .bi-check-lg {
    color: var(--primary);
}

section.one-coverage-1.one-bg-light .one-coverage-1-not-found {
    color: var(--primary);
}

section.one-coverage-1.one-bg-light .one-coverage-1-not-found:hover {
    color: var(--link-on-light-hover);
}

/* CTA de orçamento: linha verde-clara em cima e embaixo */
section.one-cta-3 {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--accent-on-dark);
    border-bottom: 1px solid var(--accent-on-dark);
}

.one-cta-3-inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 992px) {
    .one-cta-3-inner {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Cards Images 7 */
.one-cards-images-7 .card {
    border-radius: var(--card-radius);
    border: var(--card-border);
    overflow: hidden;
    box-shadow: none;
}

.one-cards-images-7 .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.one-cards-images-7 .card-body h3 {
    font-weight: 700 !important;
}

.one-cards-images-7 .card-body p,
.one-cards-images-7 .card-body ul {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.one-cards-images-7-img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.one-cards-images-7 .card:hover .one-cards-images-7-img {
    transform: scale(1.05);
}

/* Contact 4: só o formulário, centralizado (cabeçalho pelo padrão .one-section-head) */
.one-contact-4-form-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 2.375rem;
    color: var(--text-on-light);
}

.one-contact-4-label {
    display: block;
    font-size: var(--fs-caption);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.one-contact-4-input {
    font-size: var(--fs-body);
}

.one-contact-4-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--focus-ring-soft);
}

/* Hero 9 - mesma estrutura do hero-8 (2 colunas, eyebrow, sem parallax).
   Desktop: escurecimento à esquerda, atrás do texto, com a mesma técnica do hero-7
   da Aero Metal (mask-image revela a foto só a partir de 40%, o resto é
   --link-navbar sólido por trás; overlay reforça o degradê puxando pra essa mesma
   cor). O overlay some onde o texto termina (--hero-overlay-end, por breakpoint do
   Bootstrap): à direita do texto, a foto fica sem nenhum efeito. No mobile a foto
   volta ao fluxo normal e fica sem overlay. */
section.one-hero-9 {
    position: relative;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
    background-color: var(--link-navbar);
}

.one-hero-9-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    z-index: 0;
    box-sizing: border-box;
    border-right: 3px solid var(--accent-water);
    mask-image: linear-gradient(to right, transparent 0%, #000 40%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}

.one-hero-9-overlay {
    background: none;
    z-index: 1;
}

section.one-hero-9.one-hero-tone-light .one-hero-9-overlay {
    background: linear-gradient(96deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .42) 30%, rgba(255, 255, 255, .2) 52%, rgba(255, 255, 255, 0) 74%);
}

section.one-hero-9.one-hero-tone-dark .one-hero-9-overlay {
    --hero-overlay-end: 60%;
    background: linear-gradient(100deg,
        color-mix(in srgb, var(--link-navbar) 94%, transparent) 0%,
        color-mix(in srgb, var(--link-navbar) 75%, transparent) calc(var(--hero-overlay-end) * 0.66),
        transparent var(--hero-overlay-end));
}

@media (min-width: 1200px) {
    section.one-hero-9.one-hero-tone-dark .one-hero-9-overlay {
        --hero-overlay-end: 50%;
    }
}

@media (min-width: 1400px) {
    section.one-hero-9.one-hero-tone-dark .one-hero-9-overlay {
        --hero-overlay-end: 45%;
    }
}

/* Desktop: foto com altura total, alinhada à direita do container */
@media (min-width: 992px) {
    .one-hero-9-bg {
        left: auto;
        right: calc(50% - 480px);
        width: auto;
        max-width: 960px;
        height: 100%;
        object-position: right center;
    }
}

@media (min-width: 1200px) {
    .one-hero-9-bg {
        right: calc(50% - 570px);
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .one-hero-9-bg {
        right: calc(50% - 660px);
        max-width: 1320px;
    }
}

@media (max-width: 991.98px) {
    /* Mesmo breakpoint do colapso da navbar (navbar-expand-lg): "mobile" aqui é sempre
       que o menu vira hambúrguer, não o md do Bootstrap. Área de texto: altura livre,
       de acordo com o conteúdo. Imagem com 270px ou metade da largura da tela. */
    section.one-hero-9 {
        min-height: unset;
        height: auto;
        display: block !important;
    }

    .one-hero-9-bg {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: max(270px, 50vw) !important;
        object-fit: cover;
        border-left: 3px solid var(--primary);
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    /* Sem nenhuma translucidez sobre a imagem no mobile: a foto aparece limpa, inclusive
       na base, encostando direto no fundo sólido da área de texto logo abaixo. */
    section.one-hero-9 .one-hero-9-overlay {
        display: none;
    }

    section.one-hero-9 .container {
        padding-top: 0.5rem !important;
    }

    section.one-hero-9 .one-hero-9-lead {
        margin-bottom: 0.75rem !important;
    }
}

section.one-hero-9 .container {
    z-index: 2;
}

.one-hero-9-content {
    max-width: 600px;
}

.one-hero-9-eyebrow {
    gap: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.6rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.one-hero-9-eyebrow-dash {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    flex-shrink: 0;
}

/* Hero escuro: eyebrow e traços em branco; ícones dos destaques no azul da gota sobre a foto */
section.one-hero-9.one-hero-tone-dark .one-hero-9-eyebrow {
    color: var(--text-on-dark);
}

section.one-hero-9.one-hero-tone-dark .text-primary {
    color: var(--accent-on-dark) !important;
}

section.one-hero-9.one-hero-tone-dark .one-hero-9-eyebrow-dash {
    background: var(--text-on-dark);
}

section.one-hero-9 .one-hero-9-title {
    font-size: clamp(1.6rem, 7.2vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
    /* Sombra preta sólida no canto inferior direito, como o título do hero do Vallo's */
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.one-hero-9-title-1,
.one-hero-9-title-2 {
    display: inline-block;
    white-space: nowrap;
}

.one-hero-9-title-1,
.one-hero-9-title-2 {
    color: var(--text-on-dark);
}

/* Mesmo tamanho dos destaques (.one-hero-9-chip), em qualquer largura */
section.one-hero-9 .one-hero-9-lead {
    font-size: var(--fs-body);
    line-height: 1.7;
    text-wrap: pretty;
    max-width: 470px;
}

section.one-hero-9.one-hero-tone-dark .one-hero-9-lead {
    color: var(--text-on-dark);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

section.one-hero-9.one-hero-tone-dark .one-hero-9-chip {
    color: var(--text-on-dark);
    background-color: rgba(255, 255, 255, 0.14);
}

section.one-hero-9.one-hero-tone-light .one-hero-9-chip {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .one-hero-9-content {
        margin-left: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .one-hero-9-bg {
        top: 0;
        height: 100%;
        transform: translate3d(0, 0, 0);
    }
}

/* Cards Icons 7 */
section.one-cards-icons-7 {
    overflow: hidden;
}

.one-cards-icons-7 .one-section-eyebrow {
    color: var(--accent-water);
}

.one-cards-icons-7-img {
    border-radius: var(--card-radius);
}

.one-cards-icons-7-caption {
    font-size: var(--fs-caption);
}

.one-cards-icons-7-list {
    border-top: var(--card-border);
}

.one-cards-icons-7-item {
    padding: 1.25rem 0;
    border-bottom: var(--card-border);
    gap: 1.125rem;
}

.one-cards-icons-7-item:last-child {
    border-bottom: none;
}

.one-cards-icons-7-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--card-radius);
    background: color-mix(in srgb, var(--accent-water) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.one-cards-icons-7-icon-wrap i {
    color: var(--accent-water);
    font-size: 1.375rem;
}

.one-cards-icons-7-item h3 {
    font-size: var(--fs-card-title);
    line-height: 1.3;
    margin-bottom: 0.375rem;
}

.one-cards-icons-7-item p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

/* Process 3 - timeline com marcadores em diamante, preenchidos em
   sequência quando a seção entra na tela; ver assets/js/main.js */
.one-process-3-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.one-process-3-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.one-process-3-marker {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.one-process-3-marker-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 31px;
    height: 31px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 2px solid var(--primary);
    background-color: var(--section-bg, var(--bg-light));
    transition: background-color 4s ease;
}

.one-process-3-step.is-active .one-process-3-marker-diamond {
    background-color: var(--primary);
}

/* Borda externa espaçada (6px) que aparece assim que a etapa fica ativa: na 01 logo
   no início, e em cada etapa seguinte quando a linha de ligação encosta nela */
.one-process-3-marker-diamond::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid var(--primary);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.one-process-3-step.is-active .one-process-3-marker-diamond::after {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .one-process-3-marker-diamond::after {
        transition: none;
    }
}

.one-process-3-marker-number {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: var(--fs-caption);
    color: var(--primary);
    transition: color 4s ease;
}

.one-process-3-step.is-active .one-process-3-marker-number {
    color: var(--text-on-dark);
}

.one-process-3-connector {
    position: absolute;
    z-index: 1;
    top: 44px;
    bottom: -2.5rem;
    left: 21px;
    width: 2px;
    background-color: var(--border);
    overflow: hidden;
}

.one-process-3-connector-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 0%;
    background-color: var(--primary);
    transition: width 4s ease, height 4s ease;
}

.one-process-3-step.is-active .one-process-3-connector-fill {
    height: 100%;
}

.one-process-3-content {
    flex: 1 1 auto;
    padding-top: 0.35rem;
}

.one-process-3-content h3 {
    margin-bottom: 0.5rem;
}

.one-process-3-content p {
    line-height: var(--lh-body);
}

@media (min-width: 992px) {
    .one-process-3-timeline {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }

    .one-process-3-step {
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding-inline: 0.5rem;
    }

    .one-process-3-connector {
        top: 22px;
        bottom: auto;
        left: 50%;
        width: 100%;
        height: 2px;
    }

    .one-process-3-connector-fill {
        width: 0%;
        height: 100%;
    }

    .one-process-3-step.is-active .one-process-3-connector-fill {
        width: 100%;
    }

    .one-process-3-content {
        padding-top: 0;
    }
}

/* Carousel 7: vitrine com trilho controlado por transform, cards verticais e badges em pílula */
.one-carousel-7-track {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.one-carousel-7-track.is-dragging {
    cursor: grabbing;
}

.one-carousel-7-rail {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.one-carousel-7-rail.is-instant {
    transition: none;
}

.one-carousel-7-slide {
    position: relative;
    flex: 0 0 auto;
    width: min(320px, 72vw);
    border-radius: var(--card-radius);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.35s ease;
}

.one-carousel-7-slide.is-active {
    transform: scale(1);
}

.one-carousel-7-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

.one-carousel-7-badges {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.one-carousel-7-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: var(--card-radius);
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--text-on-light);
    font-size: var(--fs-caption);
    text-align: center;
}

.one-carousel-7-badge-highlight {
    background-color: var(--primary);
    color: var(--text-on-dark);
}

.one-carousel-7-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary) 55%, #ffffff);
    background-color: var(--bg-light);
    transform: translateY(-50%);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.one-carousel-7-control i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: color 0.25s ease;
}

.one-carousel-7-control:hover,
.one-carousel-7-control:focus-visible {
    background-color: color-mix(in srgb, var(--primary-hover) 10%, var(--bg-light));
    border-color: color-mix(in srgb, var(--primary-hover) 55%, #ffffff);
}

.one-carousel-7-control:hover i,
.one-carousel-7-control:focus-visible i {
    color: var(--primary-hover);
}

.one-carousel-7-control-prev {
    left: max(0.75rem, calc(50% - min(160px, 36vw) - 4rem));
}

.one-carousel-7-control-next {
    right: max(0.75rem, calc(50% - min(160px, 36vw) - 4rem));
}

.one-carousel-7-indicators {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
}

.one-carousel-7-indicators [data-one-slide-to] {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--primary);
    opacity: 0.35;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.one-carousel-7-indicators [data-one-slide-to]:hover,
.one-carousel-7-indicators [data-one-slide-to]:focus-visible {
    opacity: 1;
}

.one-carousel-7-indicators .active {
    width: 1.5rem;
    opacity: 1;
}

section.one-carousel-7.one-bg-dark .one-carousel-7-indicators {
    --primary: var(--accent-on-dark);
}

/* Galeria fullscreen do carousel-7: mesmo padrão de viewer do carousel-5/6 do Super Modelo, portado pra esse trilho */
body.one-gallery-open {
    overflow: hidden;
}

.one-carousel-7-viewer[hidden] {
    display: none;
}

.one-carousel-7-viewer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #030503;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.one-carousel-7-viewer.is-open {
    opacity: 1;
}

.one-carousel-7-viewer-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    touch-action: none;
    user-select: none;
    cursor: pointer;
}

.one-carousel-7-viewer-media {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.one-carousel-7-viewer-img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    pointer-events: none;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.one-carousel-7-viewer-video {
    max-width: 100vw;
    max-height: 100dvh;
    width: auto;
    height: auto;
    pointer-events: auto;
}

.one-carousel-7-viewer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(3, 5, 3, 0.78);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.one-carousel-7-viewer-close i {
    font-size: 1.1rem;
}

.one-carousel-7-viewer-close:hover,
.one-carousel-7-viewer-close:focus-visible {
    background: rgba(64, 172, 221, 0.16);
    border-color: rgba(64, 172, 221, 0.55);
    color: var(--primary);
}

.one-carousel-7-viewer-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    font-size: var(--fs-caption);
    color: var(--text-on-light);
    letter-spacing: 0.02em;
    pointer-events: none;
    margin: 0;
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: var(--card-radius);
}

