/*
Theme Name: EFC Projetos & Reformas
Theme URI: https://www.efc.eng.br/
Author: EFC Projetos & Reformas
Author URI: https://www.efc.eng.br/
Description: Tema oficial da EFC Projetos & Reformas - Gestão Completa de Obras de Alto Padrão.
Version: 1.2.0
Text Domain: efc-theme
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
*/

/* O CSS principal está modularizado na pasta /css/ */



/* ==========================================================================
   VARIÁVEIS
   ========================================================================== */
:root {
    /* Cores — identidade EFC Oficial */
    --efc-cream: #FCF8F5;
    --efc-blue-muted: #3C5C78;
    --efc-blue-dark: #224464;
    --efc-yellow: #F2CB5F;
    --efc-black: #000000;
    --efc-white: #FFFFFF;

    /* Mapeamento de legados */
    --efc-blue: var(--efc-blue-dark);
    --efc-blue-light: var(--efc-blue-muted);
    --efc-blue-mid: var(--efc-blue-dark);
    --efc-yellow-light: #F4D57A;
    --efc-light: var(--efc-cream);
    --efc-gray: #EBE7E4;
    --efc-text: var(--efc-black);

    /* Derivadas (sempre a partir da paleta) */
    --text-muted: rgba(0, 0, 0, 0.72);
    --line: rgba(0, 0, 0, 0.12);
    --line-strong: rgba(0, 0, 0, 0.24);
    --line-light: rgba(255, 255, 255, 0.16);
    --white-muted: rgba(255, 255, 255, 0.78);

    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Ubuntu', sans-serif;

    --fs-h1: clamp(2.15rem, 1.2rem + 3.2vw, 4.25rem);
    --fs-h2: clamp(1.75rem, 1rem + 2.5vw, 2.875rem);
    --fs-h3: clamp(1.125rem, 0.95rem + 1vw, 1.35rem);
    --fs-lead: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-label: 0.75rem;

    /* Layout */
    --container-width: 1320px;
    --container-padding: 60px;
    --section-y: clamp(67px, 3.7rem + 3.5vw, 115px);
    --header-h: 96px;
    --header-h-scrolled: 76px;
    --radius: 4px;

    /* Movimento */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition: 0.3s var(--ease);
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--efc-text);
    background-color: var(--efc-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

main, #conteudo {
    flex: 1 0 auto;
}

.footer {
    margin-top: auto;
}

body.blog {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html.menu-open,
body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), opacity var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

address {
    font-style: normal;
}

/* Sprite SVG (oculto, mas acessível ao <use> e ao filtro da logo) */
.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Ícones lineares — mesma linguagem em todo o site */
.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ícone do WhatsApp: preenchimento vetorial sólido e nítido (sem stroke para evitar borrão) */
.icon-whatsapp,
svg.icon-whatsapp,
svg.icon:has(use[href="#i-whatsapp"]),
.icon:has(use[href="#i-whatsapp"]),
use[href="#i-whatsapp"] {
    fill: currentColor !important;
    stroke: none !important;
}

/* ==========================================================================
   ACESSIBILIDADE
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    background: var(--efc-yellow);
    color: var(--efc-blue);
    padding: 12px 20px;
    font-weight: 600;
    font-size: var(--fs-small);
    border-radius: 2px;
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 2px solid var(--efc-blue);
    outline-offset: 3px;
}

.hero :focus-visible,
.header:not(.scrolled) :focus-visible,
.nav-menu :focus-visible,
.app :focus-visible,
.diferenciais-left :focus-visible,
.cta-final :focus-visible,
.footer :focus-visible,
.servico-card:focus-visible {
    outline-color: var(--efc-yellow);
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--efc-blue);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.text-yellow {
    color: var(--efc-yellow);
}

.center {
    text-align: center;
}

/* ==========================================================================
   UTILITÁRIOS E LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-y) 0;
}

.bg-light {
    background-color: var(--efc-light);
}

.bg-dark-blue {
    background-color: var(--efc-blue);
    color: var(--efc-white);
}

.bg-dark-blue h2,
.bg-dark-blue h3,
.bg-dark-blue h4 {
    color: var(--efc-white);
}

.section-header {
    margin-bottom: clamp(40px, 2rem + 1.5vw, 60px);
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-header.split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--efc-blue-light);
    margin-bottom: 18px;
}

.bg-dark-blue .section-label,
.diferenciais-left .section-label {
    color: rgba(255, 255, 255, 0.62);
}

.section-title {
    font-size: var(--fs-h2);
    line-height: 1.08;
    margin-bottom: 24px;
}

.section-text {
    font-size: var(--fs-lead);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn .icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn-sm {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.6875rem;
}

.btn-primary {
    background-color: var(--efc-yellow);
    color: var(--efc-blue);
}

.btn-primary:hover {
    background-color: var(--efc-yellow-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(247, 201, 0, 0.22);
}

.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--efc-white);
}

.btn-outline-white:hover {
    background-color: var(--efc-white);
    border-color: var(--efc-white);
    color: var(--efc-blue);
}

.btn-outline-yellow {
    background-color: transparent;
    border-color: var(--efc-yellow);
    color: var(--efc-yellow);
}

.btn-outline-yellow:hover {
    background-color: var(--efc-yellow);
    color: var(--efc-blue);
}

.btn-text {
    min-height: 0;
    padding: 8px 0;
    background: none;
    color: var(--efc-white);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    outline: none;
}

.btn-text:hover,
.btn-text:focus-visible {
    color: var(--efc-yellow);
    border-bottom-color: var(--efc-yellow);
    outline: none;
}

.btn-link {
    min-height: 0;
    padding: 0 0 8px;
    color: var(--efc-blue);
    border: none;
    border-bottom: 1px solid var(--efc-yellow);
    border-radius: 0;
    outline: none;
}

.btn-link:hover,
.btn-link:focus-visible {
    color: var(--efc-blue-light);
    border-bottom-color: var(--efc-blue-light);
    outline: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 9990;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    transition: height 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.scrolled {
    height: var(--header-h-scrolled);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(8, 46, 73, 0.06);
}

/* Suporte à barra de administração do WordPress */
body.admin-bar .header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}
@media screen and (max-width: 600px) {
    body.admin-bar .header {
        top: 0;
    }
}

/* Quando o cabeçalho for rolado (scrolled), deve SEMPRE colar no topo absoluto */
body.admin-bar .header.scrolled {
    top: 0 !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo-link {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    flex-shrink: 0;
}

/* Logo original; sobre fundo escuro aplica a versão negativa via filtro SVG */
.logo {
    height: 68px;
    width: auto;
    filter: url(#logo-negative);
    transition: height 0.4s var(--ease);
}

.header.scrolled .logo {
    height: 54px;
    filter: none;
}

body.menu-open .header .logo,
body.menu-open .header.scrolled .logo,
body.menu-open .logo {
    filter: url(#logo-negative) !important;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--efc-yellow);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--efc-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header.scrolled .nav-link {
    color: var(--efc-text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--efc-blue);
    font-weight: 600;
}

.header.scrolled .nav-link:hover::after,
.header.scrolled .nav-link.active::after {
    background-color: var(--efc-yellow);
    transform: scaleX(1);
}

.nav-cta-mobile {
    display: none;
}

.header-btn {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
    margin-right: -10px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--efc-white);
    position: absolute;
    left: 10px;
    transition: transform var(--transition), background-color var(--transition), top var(--transition);
}

.hamburger {
    top: 50%;
}

.hamburger::before {
    left: 0;
    top: -7px;
}

.hamburger::after {
    left: 0;
    top: 7px;
}

.header.scrolled .menu-toggle:not(.active) .hamburger,
.header.scrolled .menu-toggle:not(.active) .hamburger::before,
.header.scrolled .menu-toggle:not(.active) .hamburger::after {
    background-color: var(--efc-blue);
}

.menu-toggle.active .hamburger {
    background-color: transparent !important;
}

.menu-toggle.active .hamburger::before,
.menu-toggle.active .hamburger::after,
body.menu-open .menu-toggle .hamburger::before,
body.menu-open .menu-toggle .hamburger::after,
.header.scrolled .menu-toggle.active .hamburger::before,
.header.scrolled .menu-toggle.active .hamburger::after {
    background-color: var(--efc-white) !important;
}

body.menu-open .header,
body.menu-open .header.scrolled {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(640px, 100vh, 1000px);
    min-height: clamp(640px, 100svh, 1000px);
    display: flex;
    flex-direction: column;
    padding: var(--header-h) 0 0;
    color: var(--efc-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
}

/* Escuro à esquerda (texto), luz preservada à direita */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 46, 73, 0.55) 0%, rgba(8, 46, 73, 0) 24%),
        linear-gradient(0deg, rgba(8, 46, 73, 0.6) 0%, rgba(8, 46, 73, 0) 26%),
        linear-gradient(90deg, rgba(8, 46, 73, 0.94) 0%, rgba(8, 46, 73, 0.84) 28%, rgba(8, 46, 73, 0.5) 52%, rgba(8, 46, 73, 0.1) 78%, rgba(8, 46, 73, 0) 100%);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 72px;
}

.hero-inner {
    max-width: 680px;
}

.hero-label {
    display: block;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title {
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--efc-white);
    margin-bottom: 30px;
}

.hero-title-line {
    display: block;
}

.hero-title .text-yellow {
    color: var(--efc-yellow);
}

/* "responsabilidade." levemente menor para equilibrar as três linhas */
.hero-title-accent {
    font-size: 0.88em;
    letter-spacing: -0.02em;
    margin-top: 0.06em;
}

.hero-desc {
    font-size: var(--fs-lead);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
    max-width: 540px;
    margin-bottom: 44px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 36px;
}

.hero-benefits {
    position: relative;
    border-top: 1px solid var(--line-light);
    background: rgba(8, 46, 73, 0.38);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-benefits .benefits-container,
.benefits-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 1.1vw, 24px);
    padding: 16px 20px;
    min-height: 80px;
    width: 100%;
    max-width: min(100% - 24px, 1600px);
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hero-benefits .benefits-container::-webkit-scrollbar,
.benefits-container::-webkit-scrollbar {
    display: none;
}

.benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.55rem, 0.65vw, 0.68rem);
    letter-spacing: 0.04em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.benefit-item .icon {
    width: 17px;
    height: 17px;
    color: var(--efc-yellow);
    flex-shrink: 0;
}

.benefit-separator {
    width: 1px;
    height: 24px;
    background-color: var(--line-light);
    flex-shrink: 0;
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre {
    position: relative;
    background: #ffffff url('assets/images/fundo-cozinha.png') no-repeat left center / cover;
    padding: clamp(64px, 6.5vw, 110px) 0;
}

.sobre-container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.sobre-image {
    position: relative;
    visibility: hidden;
    pointer-events: none;
}

.sobre-image img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
}

.sobre-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
    margin-left: auto;
    padding-left: clamp(63px, 3.5vw + 45px, 100px);
}

.sobre-content .section-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--efc-blue);
    margin-bottom: 16px;
}

.sobre-content .section-label::after {
    content: '';
    display: inline-block;
    width: 44px;
    height: 1.5px;
    background-color: var(--efc-yellow);
}

.sobre-content .section-title {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--efc-blue);
    margin-bottom: 22px;
}

.sobre-content .section-text {
    font-size: 0.95rem;
    line-height: 1.68;
    color: var(--efc-text-light);
    max-width: 520px;
    margin-bottom: 28px;
}

.sobre-stats {
    display: grid;
    grid-template-columns: auto 1fr 1.35fr;
    align-items: flex-start;
    border-top: 1px solid rgba(8, 46, 73, 0.12);
    padding-top: 28px;
    margin-bottom: 34px;
    width: 100%;
    max-width: 630px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 18px;
    border-left: 1px solid rgba(8, 46, 73, 0.12);
}

.stat-item:first-child {
    padding-left: 0;
    border-left: none;
}

.stat-item--number {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-right: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
    color: var(--efc-blue);
}

.stat-icon {
    width: 26px;
    height: 26px;
    color: var(--efc-blue);
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.stat-text {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.stat-text strong {
    display: block;
    font-weight: 700;
    color: var(--efc-blue);
}

.stat-text-wrap {
    display: flex;
    flex-direction: column;
}

.stat-subtext {
    display: block;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--text-muted);
    opacity: 0.88;
    margin-top: 5px;
}

.sobre-content .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--efc-blue);
    border-bottom: 1.5px solid var(--efc-yellow);
    padding-bottom: 4px;
    margin-top: 4px;
    transition: opacity var(--transition), color var(--transition);
}

.sobre-content .btn-link .icon {
    width: 14px;
    height: 14px;
    color: var(--efc-yellow);
    transition: transform var(--transition);
}

.sobre-content .btn-link:hover .icon {
    transform: translateX(4px);
}

/* ==========================================================================
   SERVICOS
   ========================================================================== */
.servicos {
    padding-top: clamp(56px, 3.5rem + 2vw, 85px);
}

.servicos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(28px, 1.8rem + 1vw, 44px);
}

.servicos-header-text {
    max-width: 840px;
}

.servicos-header-text .section-title {
    margin-bottom: 0;
}

.servicos-header-desc {
    font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.05rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 14px;
    margin-bottom: 0;
}

.servicos-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(8, 46, 73, 0.18);
    background-color: #ffffff;
    color: var(--efc-blue);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.carousel-arrow:hover:not(:disabled) {
    background-color: var(--efc-yellow);
    border-color: var(--efc-yellow);
    color: var(--efc-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 46, 73, 0.14);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.carousel-arrow .icon {
    width: 18px;
    height: 18px;
}

.servicos-carousel-wrap {
    position: relative;
    width: 100%;
}

.servicos-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.servicos-track::-webkit-scrollbar {
    display: none;
}

.servicos-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.servico-card {
    position: relative;
    flex: 0 0 clamp(320px, 30vw, 390px);
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--efc-blue);
    scroll-snap-align: start;
    user-select: none;
    cursor: default;
}

.servico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
    pointer-events: none;
}

.servico-card:hover .servico-img {
    transform: scale(1.04);
}

.servico-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 2.2vw, 34px);
    color: var(--efc-white);
    background: linear-gradient(180deg, rgba(8, 46, 73, 0) 10%, rgba(8, 46, 73, 0.65) 45%, rgba(8, 46, 73, 0.97) 100%);
    pointer-events: none;
}

.servico-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--efc-yellow);
    margin-bottom: 8px;
}

.servico-title {
    font-size: clamp(1.15rem, 0.95rem + 0.4vw, 1.4rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--efc-white);
    margin-bottom: 10px;
}

.servico-footer {
    display: block;
}

.servico-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}
.servicos-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: clamp(32px, 3.5vw, 48px);
    padding: clamp(24px, 2.5vw, 36px) clamp(24px, 3vw, 44px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(8, 46, 73, 0.04);
}

.servicos-bottom-text {
    max-width: 680px;
}

.servicos-bottom-title {
    font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 700;
    color: var(--efc-blue);
    margin-bottom: 8px;
}

.servicos-bottom-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.servicos-bottom-cta .btn {
    flex-shrink: 0;
    white-space: nowrap;
}




/* ==========================================================================
   PROCESSO
   ========================================================================== */
.processo {
    padding: clamp(59px, 2.7rem + 3vw, 99px) 0;
}

.processo .section-header {
    margin-bottom: clamp(40px, 2rem + 1vw, 56px);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

/* Linha horizontal discreta ligando o centro do primeiro ao último ícone */
.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: var(--line-strong);
    opacity: 0.6;
}

.timeline-step {
    position: relative;
    text-align: center;
    padding: 0 18px;
}

.step-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background-color: var(--efc-white);
    border: 1px solid var(--line);
    color: var(--efc-blue);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.step-icon .icon {
    width: 24px;
    height: 24px;
}

.step-number {
    position: absolute;
    top: -6px;
    right: -10px;
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 4px;
    border-radius: 13px;
    background-color: var(--efc-yellow);
    color: var(--efc-blue);
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.timeline-step:hover .step-icon {
    border-color: var(--efc-yellow);
    box-shadow: 0 8px 20px rgba(8, 46, 73, 0.08);
}

.section-intro {
    font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.0625rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin: 16px auto 0;
}

.step-title {
    font-size: clamp(1rem, 0.88rem + 0.35vw, 1.15rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
}

.step-desc {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 24ch;
    margin: 0 auto;
}

/* ==========================================================================
   APLICATIVO
   ========================================================================== */
.app {
    position: relative;
    overflow: hidden;
    background: #082842 url('assets/images/fundo-notebook.png') no-repeat center right / cover;
}

.app-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
    min-height: 580px;
    padding-top: clamp(48px, 6vw, 84px);
    padding-bottom: clamp(48px, 6vw, 84px);
}

.app-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.app-content .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.app-title {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
}

.app-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin-bottom: 30px;
}

.app-desc strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.app-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    border-top: none;
    margin-bottom: 36px;
    width: 100%;
    max-width: 470px;
}

.app-benefits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
}

.app-benefits li:first-child {
    padding-left: 0;
    border-left: none;
}

.app-benefits .icon {
    width: 24px;
    height: 24px;
    color: var(--efc-yellow);
}

.app-content .btn {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
}

/* Mockup do notebook transparente integrado sobre o fundo 3D */
.app-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.app-photo {
    position: relative;
    width: 100%;
    max-width: 660px;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: auto;
}

.app-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
}

.app-photo::after {
    display: none;
}

.app-phone {
    grid-area: 1 / 1;
    justify-self: start;
    align-self: end;
    position: relative;
    z-index: 1;
    width: 228px;
    margin-top: 96px;
    margin-left: 2%;
}

.phone-frame {
    background-color: #0A1B29;
    border-radius: 38px;
    padding: 9px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border-radius: 30px;
    background-color: var(--efc-white);
    color: var(--efc-text);
}

.phone-island {
    width: 64px;
    height: 18px;
    margin: 8px auto 0;
    border-radius: 12px;
    background-color: #0A1B29;
}

.phone-top {
    display: flex;
    justify-content: center;
    padding: 10px 16px 10px;
    border-bottom: 1px solid var(--line);
}

.phone-top img {
    height: 34px;
    width: auto;
}

.phone-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 14px 0;
}

.phone-heading strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--efc-blue);
    line-height: 1.3;
}

.phone-heading span {
    font-size: 9px;
    color: var(--text-muted);
}

.phone-progress {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--efc-light);
}

.phone-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 9.5px;
    color: var(--efc-text);
}

.phone-progress-row strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--efc-blue);
}

.phone-progress-bar {
    height: 5px;
    margin: 7px 0 6px;
    border-radius: 3px;
    background-color: var(--line);
    overflow: hidden;
}

.phone-progress-bar span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background-color: var(--efc-yellow);
}

.phone-progress-meta {
    font-size: 8px;
    color: var(--text-muted);
}

.phone-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 400;
    color: var(--efc-text);
}

.phone-list li:last-child {
    border-bottom: none;
}

.phone-list .icon {
    width: 14px;
    height: 14px;
    color: var(--efc-blue);
    stroke-width: 1.6;
}

.phone-list .phone-chevron {
    width: 12px;
    height: 12px;
    margin-left: auto;
    color: var(--text-muted);
}

.phone-home {
    width: 36%;
    height: 4px;
    margin: auto auto 8px;
    border-radius: 4px;
    background-color: #0A1B29;
    opacity: 0.85;
}

/* ==========================================================================
   PROJETOS
   ========================================================================== */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.projeto-card {
    display: block;
}

.projeto-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
    aspect-ratio: 4 / 4.2;
    background-color: var(--efc-light);
}

.projeto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.projeto-card:hover .projeto-img {
    transform: scale(1.025);
}

.projeto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.projeto-title {
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.projeto-cat {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.projeto-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--efc-blue);
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.projeto-arrow .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--ease);
}

.projeto-card:hover .projeto-arrow {
    background-color: var(--efc-blue);
    border-color: var(--efc-blue);
    color: var(--efc-white);
}

.projeto-card:hover .projeto-arrow .icon {
    transform: translateX(3px);
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
/* Fundo dividido exatamente ao meio; o container mantém o alinhamento global */
.diferenciais {
    padding: 0;
    background: linear-gradient(90deg, var(--efc-blue) 50%, var(--efc-white) 50%);
}

.diferenciais-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.diferenciais-left {
    display: flex;
    align-items: center;
    padding: var(--section-y) clamp(40px, 6vw, 96px) var(--section-y) 0;
    background-color: var(--efc-blue);
    color: var(--efc-white);
}

.diferenciais-left-content {
    width: 100%;
    max-width: 520px;
}

.diferenciais-title {
    color: var(--efc-white);
    font-size: clamp(2rem, 1.3rem + 1.4vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 24px;
}

.diferenciais-desc {
    font-size: var(--fs-lead);
    line-height: 1.7;
    color: var(--white-muted);
    max-width: 440px;
    margin-bottom: 40px;
}

.diferenciais-right {
    display: flex;
    align-items: center;
    padding: var(--section-y) 0 var(--section-y) clamp(40px, 6vw, 96px);
    background-color: var(--efc-white);
}

/* Grade 2x2 com divisórias finas em cruz */
.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    width: 100%;
    background-color: var(--line);
}

.dif-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
    background-color: var(--efc-white);
}

.dif-item:nth-child(odd) {
    padding-left: 0;
}

.dif-item:nth-child(even) {
    padding-right: 0;
}

.dif-item:nth-child(-n+2) {
    padding-top: 0;
}

.dif-item:last-child {
    grid-column: span 2;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.dif-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--efc-blue);
    transition: border-color var(--transition), background-color var(--transition);
}

.dif-icon .icon {
    width: 24px;
    height: 24px;
}

.dif-item:hover .dif-icon {
    border-color: var(--efc-yellow);
}

.dif-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--efc-blue);
}

.dif-desc {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   INSTITUCIONAL (POR QUE A EFC? / SOBRE A EFC)
   ========================================================================== */
.institucional {
    position: relative;
    overflow: hidden;
    background-color: #051A2C;
    background-image: 
        radial-gradient(circle at 82% 28%, rgba(21, 83, 128, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 18% 72%, rgba(15, 68, 107, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, rgba(4, 19, 32, 0.92) 0%, rgba(7, 34, 54, 0.85) 50%, rgba(3, 16, 27, 0.95) 100%),
        url('assets/images/bg-gradiente-azul.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--efc-white);
    padding: clamp(67px, 4.7rem + 2.5vw, 107px) 0;
}

.institucional-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 50%, rgba(247, 201, 0, 0.035) 0%, transparent 50%),
                radial-gradient(circle at 88% 40%, rgba(20, 85, 130, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.institucional-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: stretch;
}

/* Coluna Esquerda: Marca / Identidade */
.institucional-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.institucional-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.institucional-tag-line {
    display: inline-block;
    width: 3px;
    height: 18px;
    background-color: var(--efc-yellow);
    border-radius: 2px;
}

.institucional-tag-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.institucional-logo {
    height: clamp(68px, 4.5rem + 1.2vw, 92px);
    width: auto;
    max-width: 270px;
    object-fit: contain;
    filter: url(#logo-negative);
    margin: 12px 0 20px -6px;
    display: block;
}

.institucional-logo-title {
    font-family: var(--font-heading);
    font-size: clamp(3.6rem, 3rem + 2.5vw, 5.2rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--efc-white);
    margin: 6px 0 16px;
}

.institucional-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--efc-yellow);
    margin: 0;
}

/* Linha Divisória Vertical */
.institucional-divider {
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.05) 100%);
    align-self: stretch;
}

/* Coluna Direita: Pilares E, F, C */
.institucional-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pillar-letter {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 2.8rem + 1.2vw, 4.4rem);
    font-weight: 800;
    line-height: 0.9;
    color: var(--efc-yellow);
    margin-bottom: 8px;
    display: block;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--efc-white);
    margin: 0 0 16px 0;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--efc-yellow);
    margin-bottom: 16px;
}

.pillar-icon .icon {
    width: 38px;
    height: 38px;
    stroke-width: 1.7;
    color: var(--efc-yellow);
}

.pillar-desc {
    font-family: var(--font-body);
    font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* ==========================================================================
   BLOG
   ========================================================================== */
section.blog {
    padding: clamp(67px, 3.7rem + 2.5vw, 99px) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
    aspect-ratio: 4 / 3;
    background-color: var(--efc-light);
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-date::before {
    content: '';
    width: 18px;
    height: 1px;
    background-color: var(--efc-yellow);
}

.blog-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 18px;
    transition: color var(--transition);
}

.blog-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--efc-blue);
}

.blog-more .icon {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    transition: transform 0.35s var(--ease);
}

.blog-card:hover .blog-img {
    transform: scale(1.03);
}

.blog-card:hover .blog-title {
    color: var(--efc-blue-light);
}

.blog-card:hover .blog-more .icon {
    transform: translateX(3px);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(83px, 4.7rem + 3vw, 131px) 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

/* Termina exatamente no azul do footer para uma transição contínua */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 46, 73, 0.78) 0%, rgba(8, 46, 73, 0.88) 55%, var(--efc-blue) 100%);
}

.cta-content {
    max-width: 960px;
}

.cta-title {
    color: var(--efc-white);
    font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    position: relative;
    z-index: 1;
    isolation: isolate;
    contain: paint;
    padding: 0 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 64px;
    padding: clamp(56px, 3rem + 1.5vw, 80px) 0 56px;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.footer-logo {
    height: 80px;
    width: auto;
    filter: url(#logo-negative);
    margin-left: -6px;
    position: relative;
    z-index: 1;
}

.footer-tagline {
    max-width: 320px;
    margin: 20px 0 28px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    color: var(--efc-white);
}

.footer-social .icon {
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    background-color: var(--efc-yellow);
    border-color: var(--efc-yellow);
    color: var(--efc-blue);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px 48px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.82);
}

.footer-nav a:hover {
    color: var(--efc-yellow);
}

.footer-contact {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.footer-company {
    font-weight: 600;
    color: var(--efc-white);
    margin-bottom: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.footer-contact-item .icon {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    color: var(--efc-yellow);
}

.footer-contact-item .icon.icon-whatsapp,
.footer-contact-item svg:has(use[href="#i-whatsapp"]) {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    fill: var(--efc-yellow) !important;
    stroke: none !important;
}

.footer-social a .icon-whatsapp,
.footer-social a svg:has(use[href="#i-whatsapp"]) {
    fill: var(--efc-white) !important;
    stroke: none !important;
}

.footer-social a:hover .icon-whatsapp,
.footer-social a:hover svg:has(use[href="#i-whatsapp"]) {
    fill: var(--efc-blue) !important;
}

.footer-contact a:hover {
    color: var(--efc-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 28px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 28px;
}

.footer-legal a:hover {
    color: var(--efc-white);
}

/* ==========================================================================
   ANIMAÇÕES (INTERSECTION OBSERVER)
   ========================================================================== */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(28px);
}

.fade-left {
    transform: translateX(28px);
}

.fade-right {
    transform: translateX(-28px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-up,
    .fade-left,
    .fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP (INFERIOR DIREITO)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.2s ease;
    text-decoration: none;
    outline: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.58), 0 4px 10px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--efc-yellow);
    outline-offset: 3px;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Tooltip lateral do WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background-color: #071F33;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(242, 203, 95, 0.3);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #071F33;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   TABELA RESPONSIVA DE COOKIES
   ========================================================================== */
.cookie-table-container {
    margin: 28px 0;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
    background: var(--efc-white);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.cookie-table th {
    background-color: var(--efc-blue);
    color: var(--efc-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
}

.cookie-table td {
    padding: 14px 18px;
    border: 1px solid var(--line);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.78);
}

.cookie-table tbody tr:nth-child(even) {
    background-color: rgba(8, 46, 73, 0.02);
}

.cookie-table code {
    font-family: 'Ubuntu Mono', monospace, Consolas;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--efc-blue);
    background-color: rgba(8, 46, 73, 0.06);
    padding: 3px 6px;
    border-radius: 4px;
}

.cookie-duration-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(242, 203, 95, 0.18);
    color: var(--efc-blue);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(242, 203, 95, 0.4);
    white-space: nowrap;
}

/* ==========================================================================
   ESTILOS DE CONTENÇÃO RESPONSIVA (EVITA QUALQUER OVERFLOW NO MOBILE)
   ========================================================================== */
.article-page,
.article-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.article-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.article-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.article-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.article-body h2 {
    flex-wrap: wrap;
    max-width: 100%;
    word-break: break-word;
}

.article-body p,
.article-body ul,
.article-body li {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* CARDS NATIVOS NO MOBILE */
.cookie-cards-mobile {
    display: none;
}

@media (max-width: 991px) {
    /* Desativa deslocamentos horizontais que empurram a tela no mobile */
    .fade-left,
    .fade-right {
        transform: none !important;
        opacity: 1 !important;
    }

    /* Converte o CSS Grid para coluna flex nativa, impedindo cálculo de min-content */
    .article-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .article-main,
    .article-body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .article-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }

    /* Oculta totalmente a tabela tabular tradicional para eliminar qualquer chance de overflow */
    .cookie-table-desktop,
    .cookie-table-container.cookie-table-desktop,
    table.cookie-table {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        max-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Exibe cards limpos, confortáveis e 100% contidos */
    .cookie-cards-mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin: 24px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cookie-card-item {
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 16px 18px;
        box-shadow: 0 2px 10px rgba(8, 46, 73, 0.04);
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .cookie-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line-light);
        flex-wrap: wrap;
    }

    .cookie-card-name {
        font-family: 'Ubuntu Mono', monospace, Consolas;
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--efc-blue);
        background-color: rgba(8, 46, 73, 0.07);
        padding: 4px 8px;
        border-radius: 4px;
        word-break: break-all;
    }

    .cookie-card-row {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .cookie-card-label {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.725rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--efc-blue-muted);
    }

    .cookie-card-value {
        font-size: 0.925rem;
        font-weight: 600;
        color: var(--efc-blue);
    }

    .cookie-card-desc {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
        color: rgba(0, 0, 0, 0.75) !important;
        margin: 0 !important;
    }

    /* Regras de cabeçalho quando o menu mobile está ABERTO */
    body.menu-open .header,
    body.menu-open .header.scrolled {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    body.menu-open .header .logo,
    body.menu-open .header.scrolled .logo,
    body.menu-open .logo {
        filter: url(#logo-negative) !important;
    }

    body.menu-open .menu-toggle.active .hamburger::before,
    body.menu-open .menu-toggle.active .hamburger::after {
        background-color: var(--efc-white) !important;
    }
}


