/* ============================================
   FRAGA SEGUROS - IDENTIDADE VISUAL
   Manual de Identidade Visual
   Cores: #FF4D00 (laranja), #002B51 (azul), 
   #FFFFFF (branco), #1D1D1B (preto)
   Tipografia: Plus Jakarta Sans (moderna)
   ============================================ */

:root {
    /* Paleta Fraga Seguros */
    --fraga-orange: #FF4D00;
    --fraga-blue: #002B51;
    --fraga-white: #FFFFFF;
    --fraga-dark: #1D1D1B;
    
    /* Cores auxiliares */
    --fraga-orange-hover: #e64600;
    --fraga-blue-light: rgba(0, 43, 81, 0.92);
    --fraga-gray: #5c5c5a;
    --fraga-bg: #fafbfc;
    
    /* Tipografia */
    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    /* Espaçamentos */
    --container-max: 1240px;
    --section-padding: 5.5rem 0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Sombras */
    --shadow-sm: 0 2px 12px rgba(0, 43, 81, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 43, 81, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 43, 81, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--fraga-dark);
    line-height: 1.6;
    background: var(--fraga-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--fraga-white);
    box-shadow: 0 2px 20px rgba(0, 43, 81, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 43, 81, 0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 0;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--fraga-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--fraga-orange);
}

/* Duas entradas claras: Empresas (destaque) e Pessoas */
.nav-split {
    position: relative;
}

.nav-split--empresa .nav-split-link {
    border-bottom: 3px solid var(--fraga-orange);
    padding-bottom: 0.15rem;
}

.nav-split-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--fraga-dark);
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s;
}

.nav-split-link:hover {
    color: var(--fraga-orange);
}

.nav-split-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-split-sub {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fraga-gray);
}

.nav-split--empresa .nav-split-sub {
    color: var(--fraga-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fraga-blue);
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--fraga-orange);
    color: var(--fraga-white);
    border-color: var(--fraga-orange);
}

.btn-primary:hover {
    background: var(--fraga-orange-hover);
    border-color: var(--fraga-orange-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--fraga-white);
    border-color: var(--fraga-white);
}

.btn-secondary:hover {
    background: var(--fraga-white);
    color: var(--fraga-blue);
}

.btn-outline {
    background: transparent;
    color: var(--fraga-blue);
    border-color: var(--fraga-blue);
}

.btn-outline:hover {
    background: var(--fraga-blue);
    color: var(--fraga-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, var(--fraga-blue) 0%, rgba(0, 43, 81, 0.85) 45%, rgba(0, 43, 81, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 77, 0, 0.2);
    color: var(--fraga-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    color: var(--fraga-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 640px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== SECTION TITLES ========== */
.section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fraga-orange);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* Alinhamento do título "Sobre" no bloco .about-top (ver secção .about) */
.about-top .section-label {
    text-align: center;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--fraga-blue);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin-bottom: 1rem;
}

.section-intro {
    color: var(--fraga-gray);
    margin-bottom: 2rem;
    max-width: 700px;
}

/* ========== SERVICES PREVIEW ========== */
.services-preview {
    padding: var(--section-padding);
    background: var(--fraga-white);
}

.services-preview .section-title {
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-img {
    position: relative;
}

.service-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 43, 81, 0.85) 0%, transparent 60%);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--fraga-white);
}

.service-card-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--fraga-orange);
    margin-bottom: 0.35rem;
}

.service-card--featured {
    box-shadow: 0 0 0 3px var(--fraga-orange), var(--shadow-md);
}

.service-card--featured .service-card-overlay {
    background: linear-gradient(to top, rgba(0, 43, 81, 0.92) 0%, transparent 55%);
}

.service-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card-content p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.service-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fraga-orange);
    transition: transform 0.2s;
}

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

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

.service-card:hover .service-card-link {
    transform: translateX(4px);
}

/* ========== ABOUT ========== */
.about {
    padding: var(--section-padding);
    background: var(--fraga-bg);
}

.about-layout {
    max-width: 70rem;
    margin: 0 auto;
}

/* Texto introdutório: faixa estreita e centrada */
.about-top {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    padding: 0 0.75rem;
}

.about-top-title.section-title,
.about-top .section-title {
    text-align: center;
    margin-bottom: 1.1rem;
}

.about-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--fraga-dark);
    margin: 0 0 0.9rem;
    text-align: left;
}

@media (min-width: 601px) {
    .about-top .about-lead,
    .about-top .about-intro-para {
        text-align: center;
    }
}

.about-intro-para {
    color: var(--fraga-gray);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* Faixa de imagens: duas paisagens lado a lado, toda a largura do bloco */
.about-figures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin: 0 0 2.5rem;
    width: 100%;
}

.about-img-frame--fig {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #dde2e8;
}

.about-img-frame--fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-lower {
    max-width: 100%;
}

/* 2×2: ritmo homogéneo; cartões da mesma linha com a mesma altura */
.about-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.35rem;
    margin: 0;
    align-items: stretch;
}

.value-item {
    padding: 1.2rem 1.35rem 1.3rem;
    background: var(--fraga-white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--fraga-orange);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    text-align: left;
}

.value-item:hover {
    box-shadow: var(--shadow-md);
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin: 0 0 0.45rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--fraga-gray);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.about-cta {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin: 1.75rem auto 0;
    box-sizing: border-box;
    text-align: center;
}

/* ========== SERVICES DETAIL ========== */
.services-detail {
    padding: var(--section-padding);
    background: var(--fraga-white);
}

.service-section {
    margin-bottom: 5rem;
}

.service-section:last-child {
    margin-bottom: 0;
}

.service-section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.service-section-lead--corporate {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    padding: 0 0.75rem 0.5rem;
}

.service-section-lead--corporate .subsection-title {
    margin-bottom: 0.75rem;
}

.service-section-lead--corporate p {
    color: var(--fraga-gray);
    margin: 0;
    line-height: 1.65;
    font-size: 1.02rem;
}

.service-section-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-section-image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.service-section-intro .subsection-title {
    margin-bottom: 0.75rem;
}

.service-section-intro p {
    color: var(--fraga-gray);
}

.services-detail-intro {
    text-align: center;
    margin: -0.5rem auto 2.5rem;
    max-width: 720px;
    color: var(--fraga-gray);
}

#servicos,
#pessoa-juridica,
#pessoa-fisica,
#sobre,
#equipe,
#contato {
    scroll-margin-top: 90px;
}

/* Produtos por linha — caixas por portfólio */
.product-lines {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--fraga-bg);
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
}

.product-lines--corporate {
    margin-top: 0.75rem;
    padding: 1.75rem clamp(1rem, 2vw, 1.75rem) 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.product-lines--corporate .product-lines-title {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.product-lines--corporate .product-lines-lead {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.product-lines--corporate .product-line-grid {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    gap: 1.4rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.product-lines-title {
    font-size: 1.2rem;
    color: var(--fraga-blue);
    margin-bottom: 0.5rem;
}

.product-lines-lead {
    font-size: 0.95rem;
    color: var(--fraga-gray);
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.product-line-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.product-line-box {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: var(--fraga-white);
    border-radius: var(--radius-md);
    border: 1px solid #e8ecf0;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.product-line-box:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 43, 81, 0.12);
}

.product-line-box-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8ecf0;
}

.product-line-box-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(0, 43, 81, 0.06) 100%);
    pointer-events: none;
}

.product-line-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.product-line-box:hover .product-line-box-media img {
    transform: scale(1.04);
}

.product-line-box-content {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-line-box--wide {
    grid-column: 1 / -1;
}

.product-line-box--wide .product-line-box-media {
    aspect-ratio: 21 / 9;
}

@media (min-width: 640px) {
    .product-line-box--wide {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: stretch;
    }

    .product-line-box--wide .product-line-box-media {
        aspect-ratio: auto;
        min-height: 14rem;
    }

    .product-line-box--wide .product-line-box-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.product-line-box-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.product-line-box-kicker {
    font-size: 0.86rem;
    color: var(--fraga-gray);
    margin: -0.35rem 0 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

.product-line-box-body p {
    font-size: 0.92rem;
    color: var(--fraga-dark);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.product-line-box-body p:last-child {
    margin-bottom: 0;
}

.service-section--personal {
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 1px solid #eee;
}

.personal-live-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fraga-orange);
}

.personal-intro,
.personal-ref {
    margin-top: 0.75rem;
}

.personal-ref {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--fraga-gray);
}

.team-closing {
    padding: 1rem 1.25rem;
    background: var(--fraga-white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--fraga-orange);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    background: var(--fraga-white);
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-item-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-item:hover .service-item-img img {
    transform: scale(1.05);
}

.service-item-content {
    padding: 1.25rem;
}

.service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin-bottom: 0.4rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--fraga-gray);
}

/* ========== PARTNERS ========== */
.partners {
    padding: var(--section-padding);
    background: var(--fraga-bg);
}

.partners-intro {
    text-align: center;
    color: var(--fraga-gray);
    max-width: 600px;
    margin: -1rem auto 2.5rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner-logo {
    padding: 1.5rem 2rem;
    background: var(--fraga-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ========== TEAM ========== */
.team-section {
    padding: var(--section-padding);
    background: var(--fraga-white);
}

.team-card {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--fraga-bg);
    border-radius: var(--radius-xl);
}

.team-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--fraga-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--fraga-dark);
    margin-bottom: 1rem;
}

.team-info .btn {
    margin-top: 0.5rem;
}

/* ========== NEWS ========== */
.news-section {
    padding: var(--section-padding);
    background: var(--fraga-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--fraga-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--fraga-orange);
    color: var(--fraga-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fraga-blue);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-card-content p {
    font-size: 0.9rem;
    color: var(--fraga-gray);
    margin-bottom: 0.75rem;
}

.news-card-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fraga-orange);
    transition: margin-left 0.2s;
}

.news-card:hover .news-card-more {
    margin-left: 4px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--fraga-blue) 0%, #003a6b 100%);
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fraga-white);
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .btn-primary:hover {
    background: var(--fraga-white);
    color: var(--fraga-blue);
    border-color: var(--fraga-white);
}

/* ========== CONTACT ========== */
.contact {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--fraga-dark);
}

.contact-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-branch {
    padding: 1.25rem 1.5rem;
    background: var(--fraga-white);
    border-radius: var(--radius-md);
    border: 1px solid #e8e8e8;
    box-shadow: var(--shadow-sm);
}

.contact-branch-title {
    font-size: 1rem;
    color: var(--fraga-blue);
    margin-bottom: 0.5rem;
}

.contact-address {
    font-size: 0.9rem;
    color: var(--fraga-gray);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.contact-methods--email {
    padding-top: 0.5rem;
    border-top: 1px solid #e8e8e8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item strong {
    font-size: 0.85rem;
    color: var(--fraga-gray);
}

.contact-item a {
    color: var(--fraga-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--fraga-orange);
}

.contact-form {
    background: var(--fraga-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--fraga-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fraga-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Botão flutuante: só ícone WhatsApp (verde) */
.wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    line-height: 0;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(18, 140, 80, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.wa-float:hover {
    background: #20bd5a;
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 5px 22px rgba(18, 140, 80, 0.5);
}

.wa-float:focus-visible {
    outline: 3px solid var(--fraga-white);
    outline-offset: 3px;
}

.wa-float-icon {
    display: block;
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .wa-float {
        right: 0.9rem;
        bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
        width: 3.15rem;
        height: 3.15rem;
    }

    .wa-float-icon {
        width: 1.7rem;
        height: 1.7rem;
    }
}

/* ========== FOOTER ========== */
.footer {
    padding: 3rem 0;
    background: var(--fraga-dark);
    color: var(--fraga-white);
    text-align: center;
}

/* Logo em cor no rodapé escuro — leitura do PNG em painel claro */
.logo-footer {
    background: var(--fraga-white);
    padding: 0.4rem 0.65rem 0.45rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    margin: 0 auto;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.logo-footer .logo-img {
    height: 40px;
}

.footer-text {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .nav-list {
        flex-wrap: wrap;
        gap: 1rem 1.25rem;
        justify-content: flex-end;
    }
    
    .service-section-header {
        grid-template-columns: 1fr;
    }
    
    .service-section-image {
        order: -1;
        max-height: 300px;
    }
    
    .service-section-image img {
        object-fit: cover;
    }

    .product-line-grid,
    .product-lines--corporate .product-line-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--fraga-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 43, 81, 0.15);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 999;
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        gap: 1.5rem;
    }
    
    .partner-logo img {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .about-figures {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-img-frame--fig {
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    .about-top .about-lead,
    .about-top .about-intro-para {
        text-align: left;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-cta {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 70px;
    }
    
    .logo-img {
        height: 42px;
    }

    .logo-footer .logo-img {
        height: 36px;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .section-padding {
        padding: 3.5rem 0;
    }
}
