/* ============================================================
   Ferraz Coca Advogados — folha de estilo principal
   Estrutura preservada do template; identidade visual aplicada
   conforme "Ferraz Coca Advogados — MANUAL DA MARCA"
   ============================================================ */

/* ------------------------------------------------------------
   1. Tokens — paleta oficial da marca
       #000000 · #333333 · #D10F15 · #FF0000
   ------------------------------------------------------------ */
:root {
    /* cores da marca */
    --brand-black: #000000;
    --brand-graphite: #333333;
    --brand-red: #d10f15;
    --brand-red-bright: #ff0000;

    /* papéis de cor (mapeados sobre a estrutura original) */
    --white: #ffffff;
    --light: #f5f5f5;
    --light-2: #e4e4e4;
    --gray: #8a8a8a;
    --gray-2: #6b6b6b;
    --slate: #333333;
    --dark: #000000;
    --dark-hero: #000000;
    --teal: #d10f15;
    --gold: #ff0000;
    --heading-alt: #333333;

    /* tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Oswald', 'Inter', Impact, sans-serif;

    /* layout */
    --container: 1320px;
    --gutter: 20px;
}

/* ------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background: var(--light-2);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
address {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

address {
    font-style: normal;
}

/* ------------------------------------------------------------
   3. Tipografia base
   ------------------------------------------------------------ */
h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 76px;
    line-height: 1.04;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--white);
}

h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--brand-black);
}

h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--brand-black);
}

.eyebrow {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-red);
}

.lead {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
}

.lead--dark {
    color: var(--brand-graphite);
}

/* Marca-d'água textual — substituir pelo logotipo definitivo */
.logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    padding: 0 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--white);
    border: 2px solid var(--brand-red);
    background-color: rgba(209, 15, 21, .12);
}


/* ------------------------------------------------------------
   4. Layout utilitário
   ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title--left {
    align-items: flex-start;
    text-align: left;
    max-width: 44%;
}

.section-title--center {
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    gap: 20px;
}

/* Barra vermelha — assinatura gráfica do manual da marca */
.section-title h2::after,
.about__text h2::after,
.content-1__title h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 6px;
    margin-top: 24px;
    background-color: var(--brand-red);
}

.section-title--center h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------------------------------------
   5. Botões
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 64px;
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--white);
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.btn__icon svg {
    width: 14px;
    height: 14px;
}

.btn--gold {
    background-color: var(--brand-red-bright);
}

.btn--gold:hover {
    background-color: var(--brand-red);
}

.btn--teal {
    background-color: var(--teal);
    height: 64px;
    padding: 20px 24px;
}

.btn--teal:hover {
    background-color: var(--dark);
}

.btn--outline {
    background-color: transparent;
    border: 1.5px solid var(--light);
}

.btn--outline:hover {
    background-color: var(--light);
    color: var(--dark);
}

/* Link com seta ("Explore More") */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 2px 0;
    font-weight: 700;
    font-size: 16px;
    color: var(--teal);
    transition: gap .25s ease;
}

.link-arrow svg {
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-arrow:hover {
    gap: 16px;
}

/* ------------------------------------------------------------
   6. Barra de aviso
   ------------------------------------------------------------ */
.announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 46px;
    padding: 11px 20px;
    background-color: var(--teal);
    color: var(--white);
}

.announcement__text {
    flex: 1 1 auto;
    max-width: 1320px;
    text-align: center;
}

.announcement__text p {
    font-weight: 500;
    font-size: 16px;
}

.announcement__text a {
    color: #ffd875;
    text-decoration: underline;
}

.announcement__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--white);
    opacity: .8;
}

.announcement__close:hover {
    opacity: 1;
}

.announcement.is-hidden {
    display: none;
}

/* ------------------------------------------------------------
   7. Navegação
   ------------------------------------------------------------ */
.nav {
    position: relative;
    z-index: 20;
    width: 100%;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 92px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nav__logo img {
    width: 148px;
    height: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav__link {
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
    transition: opacity .2s ease;
}

.nav__link:hover,
.nav__link.is-current {
    opacity: .6;
}

.nav__cta {
    height: 52px;
    padding: 14px 12px;
    margin-left: 40px;
}

.nav__menu-cta {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
}

.nav__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: transform .25s ease, opacity .25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--dark-hero);
    overflow: hidden;
}

.hero__body {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 840px;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Retrato vertical: aparece inteiro, ancorado na base e à direita.
   'contain' evita cortar a cabeça; a sobra fica no topo, em preto. */
.hero__media {
    position: absolute;
    top: -50px;
    right: 0;
    bottom: 0;
    left: auto;
    width: 56%;
    z-index: 0;
}

.hero__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
}

/* Halo suave atrás do recorte, para o retrato não flutuar
   solto sobre o preto chapado da seção */
.hero__media::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -6%;
    width: 92%;
    height: 88%;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 45%,
            rgba(209, 15, 21, .16) 0%,
            rgba(209, 15, 21, .05) 42%,
            rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* Sem fundo no recorte, basta um véu curto junto ao texto */
.hero__fade--left {
    left: -30%;
    width: 50%;
    z-index: 2;
    background: linear-gradient(90deg,
            var(--brand-black) 0%,
            rgba(0, 0, 0, .7) 45%,
            rgba(0, 0, 0, 0) 100%);
}

/* Dissolve o corte reto da base do recorte */
.hero__fade--right {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    height: 12%;
    width: auto;
    z-index: 2;
    background: linear-gradient(0deg, var(--brand-black) 35%, rgba(0, 0, 0, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.hero__title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 51%;
}

.hero__title .lead {
    width: 73%;
}

.hero__buttons {
    display: flex;
    gap: 16px;
}

.hero__buttons .btn {
    min-width: 189px;
}

/* ------------------------------------------------------------
   9. About
   ------------------------------------------------------------ */
.about {
    display: flex;
    justify-content: center;
    padding: 95px 0;
    background-color: var(--white);
}

.about__inner {
    display: flex;
    flex-direction: column;
    gap: 95px;
    width: 100%;
}

.about__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 62%;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__text h2 {
    width: 96%;
}

.about__brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 27%;
}

.award-icon {
    flex: 0 0 auto;
}

.about__brand-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about__brand-sub {
    font-weight: 500;
    font-size: 16px;
    color: var(--gray-2);
}

.about__logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.about__logos-title {
    width: 32%;
    color: var(--heading-alt);
}

.about__logos-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 60%;
}

.about__logos-list p {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-graphite);
    opacity: .45;
}

/* ------------------------------------------------------------
   10. Services
   ------------------------------------------------------------ */
.services {
    display: flex;
    justify-content: center;
    padding: 95px 0 128px;
    background-color: var(--white);
}

.services__inner {
    display: flex;
    flex-direction: column;
    gap: 95px;
    width: 100%;
}

.services__cards {
    display: flex;
    gap: 24px;
    width: 100%;
}

.service-card {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    background-color: var(--light);
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 44, 53, .08);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
}

.service-card__icon img,
.service-card__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h4 {
    white-space: nowrap;
}

/* ------------------------------------------------------------
   11. Content 1
   ------------------------------------------------------------ */
.content-1 {
    display: flex;
    justify-content: center;
    padding: 115px 0 133px;
    background-color: var(--light);
}

.content-1__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.content-1__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 39%;
}

.content-1__title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.content-1__title .lead {
    width: 92%;
}

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

.rating__marks {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating__marks span {
    display: block;
    width: 15px;
    height: 6px;
    background-color: var(--brand-red);
}

.rating__marks span:nth-child(4) {
    background-color: var(--brand-graphite);
}

.rating__marks span:nth-child(5) {
    background-color: var(--brand-graphite);
}

.rating__text {
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-black);
}

.content-1__image {
    position: relative;
    width: 38%;
    min-height: 578px;
}

.content-1__block {
    position: absolute;
    top: 0;
    right: 0;
    width: 375px;
    max-width: 90%;
    height: 460px;
    background-color: var(--gray);
}

.content-1__image img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 529px;
    object-fit: cover;
}

/* ------------------------------------------------------------
   12. Industries (carrossel)
   ------------------------------------------------------------ */
.industries {
    display: flex;
    justify-content: center;
    padding: 100px 0 126px;
    background-color: var(--light);
    overflow: hidden;
}

.industries__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 58px;
    width: 100%;
}

/* O padding dá folga para o card subir no hover sem ser cortado
   pelo overflow; a margem negativa devolve o espaço ao layout. */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
    margin: -20px 0 -40px;
}

.carousel__track {
    display: flex;
    gap: 32px;
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 calc((100% - 64px) / 3);
    display: flex;
    min-height: 456px;
}

.industry-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 24px;
    background-color: var(--white);
    border: 1px solid var(--light-2);
    transition: transform .3s ease, box-shadow .3s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 44, 53, .08);
}

.industry-card__image {
    width: 100%;
    height: 176px;
    overflow: hidden;
}

.industry-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    flex: 1 1 auto;
}

.industry-card__content .link-arrow {
    margin-top: auto;
}

.industry-card__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.industry-card__title p {
    font-weight: 500;
    font-size: 16px;
    color: var(--slate);
}

/* ------------------------------------------------------------
   13. Facts
   ------------------------------------------------------------ */
.facts {
    display: flex;
    justify-content: center;
    padding: 139px 0 123px;
    background-color: var(--dark);
}

.facts__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.facts__image {
    flex: 0 0 auto;
    width: 393px;
    max-width: 32%;
    overflow: hidden;
}

.facts__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facts__image--1 {
    height: 590px;
}

.facts__image--2 {
    height: 412px;
}

.facts__numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 320px;
    flex: 0 0 auto;
}

.fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.fact__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

.fact__value::after {
    content: "";
    display: block;
    width: 40px;
    height: 5px;
    margin: 14px auto 4px;
    background-color: var(--brand-red);
}

.fact__label {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: var(--white);
}

.fact__note {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray);
}

/* ------------------------------------------------------------
   14. CTA
   ------------------------------------------------------------ */
.cta {
    display: flex;
    justify-content: center;
    padding: 90px 0 82px;
    background-color: var(--slate);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.cta__title {
    width: 59%;
    color: var(--white);
}

.cta__buttons {
    display: flex;
    gap: 16px;
}

.cta__buttons .btn {
    min-width: 189px;
}

/* ------------------------------------------------------------
   15. Testimonials
   ------------------------------------------------------------ */
.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 0;
    background-color: var(--light);
    overflow: hidden;
}

.testimonials__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 68px;
    width: 100%;
}

/* Colunas em rolagem contínua.
   O conteúdo de cada trilha é duplicado, então translateY(-50%)
   volta exatamente ao ponto de partida e o laço fica invisível. */
.tcols {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: var(--container);
    margin: 68px auto 0;
    padding: 0 var(--gutter);
    height: 620px;
    overflow: hidden;
    /* esmaece o topo e a base para os cards entrarem e saírem sem corte seco */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.tcol {
    flex: 1 1 0;
    max-width: 400px;
}

.tcol__track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    animation: tcol-scroll 34s linear infinite;
    will-change: transform;
}

.tcol--2 .tcol__track {
    animation-duration: 44s;
}

.tcol--3 .tcol__track {
    animation-duration: 38s;
}

@keyframes tcol-scroll {
    to {
        transform: translateY(-50%);
    }
}

.tcols:hover .tcol__track {
    animation-play-state: paused;
}

/* Card */
.tcard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 32px;
    background-color: var(--white);
    border: 1px solid var(--light-2);
    border-top: 4px solid var(--brand-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.tcard__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--brand-graphite);
}

.tcard__text::before {
    content: "“";
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: .6;
    color: var(--brand-red);
    margin-bottom: 12px;
}

/* Sem foto: o nome e o cargo ocupam a esquerda, ancorados por um filete */
.tcard__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 16px;
    border-left: 3px solid var(--brand-red);
}

.tcard__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--brand-black);
}

.tcard__role {
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray-2);
}

@media (prefers-reduced-motion: reduce) {
    .tcol__track {
        animation: none;
    }

    .tcols {
        height: auto;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ------------------------------------------------------------
   16. Página de Política de Privacidade
   ------------------------------------------------------------ */
.legal-header {
    background-color: var(--brand-black);
    position: relative;
}

.legal-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background-color: var(--brand-red);
}

.legal-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 72px;
    padding-bottom: 88px;
}

.legal-hero h1 {
    font-size: 56px;
}

.legal-hero h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 6px;
    margin-top: 24px;
    background-color: var(--brand-red);
}

.legal-hero__meta {
    font-size: 15px;
    color: var(--gray);
}

.legal {
    display: flex;
    justify-content: center;
    padding: 88px 0 104px;
    background-color: var(--white);
}

.legal__inner {
    display: flex;
    align-items: flex-start;
    gap: 72px;
    width: 100%;
}

/* Índice lateral */
.legal__toc {
    position: sticky;
    top: 40px;
    flex: 0 0 250px;
    padding: 24px;
    background-color: var(--light);
    border-top: 4px solid var(--brand-red);
}

.legal__toc-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-black);
    margin-bottom: 16px;
}

.legal__toc ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal__toc a {
    font-size: 15px;
    line-height: 1.4;
    color: var(--brand-graphite);
    transition: color .2s ease;
}

.legal__toc a:hover {
    color: var(--brand-red);
}

/* Corpo do texto */
.legal__content {
    flex: 1 1 auto;
    max-width: 780px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--brand-graphite);
}

.legal__content p {
    margin-bottom: 18px;
}

.legal__intro {
    font-size: 19px;
    line-height: 1.7;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-2);
}

.legal__content section {
    margin-top: 48px;
    scroll-margin-top: 32px;
}

.legal__content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.legal__content h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--brand-black);
    margin: 28px 0 12px;
}

.legal__content a {
    color: var(--brand-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal__content strong {
    color: var(--brand-black);
}

.legal__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.legal__list li {
    position: relative;
    padding-left: 22px;
}

.legal__list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 10px;
    height: 3px;
    background-color: var(--brand-red);
}

.legal__note {
    padding: 20px 24px;
    background-color: var(--light);
    border-left: 4px solid var(--brand-red);
    font-size: 16px;
}

.legal__table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
}

.legal__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}

.legal__table th,
.legal__table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--light-2);
}

.legal__table thead th {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--brand-black);
    border-bottom: 0;
}

/* ------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------ */
.footer {
    display: flex;
    justify-content: center;
    padding: 111px 0;
    background-color: var(--dark);
    color: var(--white);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 101px;
    width: 100%;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding-right: 95px;
}

.footer__logo img {
    width: 148px;
    height: auto;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__heading {
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.footer__group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer__address p,
.footer__list a {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--white);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer__list--links {
    gap: 15px;
}

.footer__list a {
    transition: color .2s ease;
}

.footer__list a:hover {
    color: var(--gold);
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.footer__social a {
    display: inline-flex;
    opacity: .85;
    transition: opacity .2s ease, color .2s ease;
}

.footer__social a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer__bottom p {
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
}

/* ------------------------------------------------------------
   17b. Acabamentos da marca
   ------------------------------------------------------------ */

/* Paleta restrita a preto, branco e vermelho: fotos em escala de cinza */
.content-1__image img,
.facts__image img,
.industry-card__image img {
    filter: grayscale(1) contrast(1.05);
}

/* O recorte já vem sem fundo: basta o preto e branco da marca,
   com uma sombra projetada para dar volume */
.hero__media img {
    filter: grayscale(1) contrast(1.04) drop-shadow(0 24px 48px rgba(0, 0, 0, .55));
}

.industry-card:hover .industry-card__image img {
    filter: grayscale(.25) contrast(1.05);
}

/* Faixa vermelha inferior — recorrente nas aplicações do manual */
.hero::after,
.cta::after,
.facts::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background-color: var(--brand-red);
}

.cta,
.facts {
    position: relative;
}

/* Bloco de apoio atrás da imagem — preto sólido, como no cartão */
.content-1__block {
    background-color: var(--brand-black);
}

/* Cartões com filete vermelho no topo ao passar o mouse */
.service-card {
    border-top: 4px solid transparent;
}

.service-card:hover {
    border-top-color: var(--brand-red);
}

.industry-card {
    border-top: 4px solid var(--brand-red);
}

/* ------------------------------------------------------------
   17c. Botão flutuante do WhatsApp
   ------------------------------------------------------------ */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 60px;
    padding: 0;
    background-color: #25d366;
    color: var(--white);
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    overflow: hidden;
    transition: bottom .35s ease, opacity .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.wa-float__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin: 0 14px;
}

.wa-float__label {
    max-width: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    overflow: hidden;
    transition: max-width .3s ease, opacity .25s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
    background-color: #1eb955;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
    max-width: 240px;
    padding-right: 24px;
    opacity: 1;
}

/* Sobe quando o banner de cookies está visível */
body.has-cookie-banner .wa-float {
    bottom: 172px;
}

/* ------------------------------------------------------------
   17d. Banner de cookies (LGPD)
   ------------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background-color: var(--brand-black);
    border-top: 5px solid var(--brand-red);
    transform: translateY(100%);
    transition: transform .4s ease;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px var(--gutter);
}

.cookie-banner__text {
    flex: 1 1 auto;
    max-width: 820px;
}

.cookie-banner__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}

.cookie-banner__text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
}

.cookie-banner__text a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
    color: var(--brand-red-bright);
}

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
}

.btn--sm {
    height: 48px;
    min-height: 0;
    padding: 12px 22px;
    font-size: 15px;
}

/* ------------------------------------------------------------
   18. Responsivo — breakpoints do template original
   ------------------------------------------------------------ */

/* < 1440px */
@media (max-width: 1439.98px) {
    h1 {
        font-size: 62px;
    }

    h2 {
        font-size: 40px;
    }

    .hero__title {
        width: 58%;
    }

    .footer__top {
        padding-right: 0;
    }
}

/* < 1100px — tablet */
@media (max-width: 1099.98px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 12px 20px 24px;
        background-color: var(--teal);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    .nav__menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .nav__menu-cta {
        display: inline-flex;
        margin-top: 20px;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__body {
        min-height: 640px;
    }

    .hero__title,
    .hero__title .lead {
        width: 62%;
    }

    /* O retrato cede espaço para o texto */
    .hero__media {
        width: 42%;
        opacity: .9;
    }

    .about__title {
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
    }

    .about__content,
    .about__brand {
        width: 100%;
    }

    .about__logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .about__logos-title,
    .about__logos-list {
        width: 100%;
    }

    .section-title--left {
        max-width: 100%;
    }

    .services__cards {
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1 1 calc(50% - 12px);
        min-width: 240px;
    }

    .content-1__inner {
        flex-direction: column;
        gap: 64px;
    }

    .content-1__text,
    .content-1__image {
        width: 100%;
    }

    .content-1__image {
        min-height: 520px;
    }

    .carousel__slide {
        flex: 0 0 calc((100% - 32px) / 2);
    }

    .facts__inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 48px;
    }

    .facts__image {
        max-width: 48%;
    }

    .facts__numbers {
        order: -1;
        width: 100%;
    }

    .cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .cta__title {
        width: 100%;
    }

    /* Duas colunas de depoimentos no tablet */
    .tcols {
        height: 560px;
    }

    .tcol--3 {
        display: none;
    }

    .legal__inner {
        flex-direction: column;
        gap: 40px;
    }

    .legal__toc {
        position: static;
        flex: 1 1 auto;
        width: 100%;
    }

    .legal__toc ul {
        flex-flow: row wrap;
        gap: 10px 28px;
    }

    .legal-hero h1 {
        font-size: 42px;
    }

    .footer__top {
        flex-wrap: wrap;
        gap: 48px;
    }

    .footer__logo {
        flex: 1 1 100%;
    }
}

/* < 810px — mobile */
@media (max-width: 809.98px) {
    :root {
        --gutter: 20px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h4 {
        font-size: 19px;
    }

    .eyebrow {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .lead {
        font-size: 16px;
    }

    .about__logos-list p {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .fact__value {
        font-size: 40px;
    }

    .about,
    .services,
    .content-1,
    .industries,
    .testimonials,
    .legal {
        padding: 64px 0;
    }

    .facts {
        padding: 72px 0;
    }

    .footer {
        padding: 72px 0;
    }

    .about__inner,
    .services__inner {
        gap: 56px;
    }

    /* Sem espaço para duas colunas: o retrato vira um quadro
       emoldurado acima do texto. */
    .hero__body {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        min-height: 0;
        padding-top: 32px;
        padding-bottom: 56px;
    }

    .hero__title,
    .hero__title .lead {
        width: 100%;
    }

    /* Quadro na mesma largura do texto, com faixa vermelha na base
       (cartão de visita do manual) e luz vermelha atrás da figura.
       O recorte é transparente, então o brilho vem do próprio fundo
       do quadro e aparece por trás dele. */
    .hero__media {
        position: relative;
        order: -1;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        aspect-ratio: 1 / 1;
        background:
            radial-gradient(ellipse 62% 48% at 50% 44%,
                rgba(209, 15, 21, .26) 0%,
                rgba(209, 15, 21, .08) 48%,
                rgba(209, 15, 21, 0) 74%),
            linear-gradient(165deg, #1f1f1f 0%, #070707 100%);
        border: 1px solid rgba(255, 255, 255, .14);
        border-bottom: 7px solid var(--brand-red);
        box-shadow: 0 0 48px rgba(209, 15, 21, .13), 0 18px 40px rgba(0, 0, 0, .5);
    }

    /* O halo do desktop não cabe aqui dentro */
    .hero__media::before {
        display: none;
    }

    .hero__media img {
        object-position: bottom center;
        filter: grayscale(1) contrast(1.04);
    }

    .hero__fade--left,
    .hero__fade--right {
        display: none;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn {
        height: auto;
        min-height: 56px;
        white-space: normal;
        text-align: center;
    }

    .hero__buttons .btn,
    .cta__buttons .btn {
        width: 100%;
        min-width: 0;
    }

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

    .nav__menu-cta {
        white-space: normal;
    }

    .facts__numbers,
    .content-1__block {
        max-width: 100%;
    }

    .service-card {
        flex: 1 1 100%;
        height: 280px;
    }

    .about__logos-list {
        flex-wrap: wrap;
        gap: 20px 32px;
    }

    .about__logos-list p {
        font-size: 18px;
    }

    .content-1__image {
        min-height: 420px;
    }

    .content-1__image img {
        height: 380px;
    }

    .content-1__block {
        width: 70%;
        height: 330px;
    }

    .carousel__slide {
        flex: 0 0 100%;
    }

    .facts__inner {
        flex-direction: column;
    }

    .facts__image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Só a primeira imagem no celular: a segunda alongaria demais a seção */
    .facts__image--2 {
        display: none;
    }

    /* Uma coluna de depoimentos no celular */
    .tcols {
        height: 500px;
        margin-top: 48px;
    }

    .tcol--2,
    .tcol--3 {
        display: none;
    }

    .tcol {
        max-width: 100%;
    }

    .tcard {
        padding: 26px;
    }

    /* Botão do WhatsApp compacto no mobile */
    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .wa-float__icon {
        width: 28px;
        height: 28px;
        margin: 0;
    }

    .wa-float__label,
    .wa-float:hover .wa-float__label {
        display: none;
    }

    /* No mobile o banner ocupa a base da tela: o botão volta depois da escolha */
    body.has-cookie-banner .wa-float {
        bottom: 16px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Banner de cookies empilhado */
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px var(--gutter);
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-banner__actions .btn {
        width: 100%;
    }

    .legal-hero {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }

    .legal__content {
        font-size: 16px;
    }

    .legal__content h2 {
        font-size: 24px;
    }

    .footer__inner {
        gap: 64px;
    }

    .footer__top {
        flex-direction: column;
        gap: 40px;
    }
}
