/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --primary-dark: #0f2744;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --text-color: #333;
    --text-muted: #5a6476;
    --light-bg: #f0f4f8;
    --white: #ffffff;
    --border-light: #dde4ec;
    --shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    --shadow-hover: 0 8px 24px rgba(30, 58, 95, 0.12);
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header incorporado (sobre o hero) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    transition: background 0.3s, box-shadow 0.3s;
    -webkit-tap-highlight-color: transparent;
}

/* Estado sobre o hero: transparente, texto branco */
.header--over-hero {
    background: transparent;
    color: var(--white);
}

.header--over-hero .logo-text {
    color: var(--white);
}

.header--over-hero .nav a {
    color: rgba(255, 255, 255, 0.95);
}

.header--over-hero .nav a:hover {
    color: var(--white);
}

/* Evitar que pseudo-elementos mostrem ponto ou carácter no header */
.header .logo::before,
.header .logo::after,
.header .logo-text::before,
.header .logo-text::after,
.header .nav-toggle::before,
.header .nav-toggle::after {
    content: none !important;
    display: none !important;
}

.header--over-hero .logo img {
    filter: brightness(0) invert(1);
}

.header--scrolled .logo img {
    filter: none;
}

/* Estado após scroll: fundo branco, texto escuro */
.header--scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header--scrolled .logo-text {
    color: var(--primary-color);
}

.header--scrolled .nav a {
    color: var(--text-color);
}

.header--scrolled .nav a:hover {
    color: var(--secondary-color);
}


.header .container,
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.header-inner {
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    max-height: 44px;
    width: auto;
}

/* Botão hamburger (visível apenas em mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
    opacity: 0.85;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.header--over-hero .nav-toggle {
    color: var(--white);
}

.header--scrolled .nav-toggle {
    color: var(--primary-color);
}

/* Estado aberto do hamburger */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

.logo-text {
    display: none;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    margin-bottom: -4px;
}

.nav a::after {
    content: none;
}

.nav a:hover {
    border-bottom-color: inherit;
}

.header--over-hero .nav a:hover {
    border-bottom-color: var(--white);
}

.header--scrolled .nav a:hover {
    border-bottom-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0 0 140px;
    padding-top: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

/* Forma de onda na base do hero */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

@media (min-width: 768px) {
    .hero-wave svg {
        height: 100px;
    }
}

.hero-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-height: 400px;
    width: auto;
    opacity: 0.15;
    animation: logoAnimation 2s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo-text {
    display: none;
    font-size: 15rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 4px;
    opacity: 0.15;
    animation: logoAnimation 2s ease-in-out infinite;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes logoAnimation {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) rotate(2deg);
    }
}

.hero-intro {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInUp 1s ease 0.2s both;
    position: relative;
    z-index: 2;
}

.hero-areas-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.15s both;
}

.hero-areas-header .hero-intro {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.hero-subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    opacity: 0.98;
}

.hero-divider {
    width: min(340px, 70vw);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 20%, rgba(59,130,246,0.95) 50%, rgba(255,255,255,0.55) 80%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0.35rem;
}

.hero-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-120%);
    animation: heroDividerShine 2.8s ease-in-out infinite;
}

@keyframes heroDividerShine {
    0% { transform: translateX(-120%); opacity: 0; }
    25% { opacity: 1; }
    55% { transform: translateX(120%); opacity: 0.9; }
    100% { transform: translateX(120%); opacity: 0; }
}

.hero-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-area-card {
    display: block;
    padding: 2rem 1.75rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.98);
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    background: transparent;
}

.hero-area-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.55), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-area-facility {
    border-color: rgba(255,255,255,0.22);
}

.hero-area-facility:hover {
    border-color: rgba(255,255,255,0.38);
}

.hero-area-rh {
    border-color: rgba(255,255,255,0.22);
}

.hero-area-rh:hover {
    border-color: rgba(255,255,255,0.38);
}

.hero-area-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-area-rh .hero-area-label {
    color: rgba(255, 255, 255, 0.92);
}

.hero-area-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    margin: 0 0 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.hero-area-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
}

.hero-area-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.hero-area-cta::after {
    content: '→';
    font-weight: 800;
    opacity: 0.95;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.hero-area-card:hover .hero-area-cta {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-area-card:hover .hero-area-cta::after {
    transform: translateX(3px);
}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quem somos */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    text-align: left;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* Lista de serviços (Facility) */
.services-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.services-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.services-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Metodologia – título e texto em cima, cards em baixo */
.methodology-block {
    margin-top: 3rem;
}

.methodology-header {
    margin-bottom: 1.5rem;
}

.methodology-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.methodology-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.methodology-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Cards em linhas (1 e 2 em linhas diferentes, 3 e 4 também) */
.methodology-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.methodology-card {
    background: var(--white);
    padding: 1.25rem 1.35rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.methodology-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
    transform: translateY(-2px);
}

.methodology-card-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.9;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.methodology-card-wide {
    grid-column: 1;
}

@media (max-width: 480px) {
    .methodology-block {
        margin-top: 2rem;
    }
}

.services-section .section-intro {
    margin-bottom: 1.5rem;
}

.services-section .section-intro:first-of-type {
    margin-bottom: 2rem;
}

/* Sections */
.services-section,
.rh-section {
    padding: 80px 0;
}

.services-section {
    background: var(--white);
    margin-top: -1px;
}

.rh-section {
    background: var(--light-bg);
}

.rh-section .service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
}

.rh-intro-block {
    max-width: 100%;
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
}

.rh-intro-block p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.rh-intro-block strong {
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.25rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-icon-svg {
    display: block;
    flex-shrink: 0;
    width: 3rem;
    height: 2.25rem;
    min-width: 3rem;
    min-height: 2.25rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Slider de serviços (cards a rodar) */
.services-slider-wrap {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0 3rem;
}

.services-slider {
    overflow: hidden;
    border-radius: 8px;
}

.services-slider-track {
    display: flex;
    width: 800%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.services-slider-wrap .slider-card {
    flex: 0 0 12.5%;
    min-width: 0;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.services-slider-wrap .slider-card h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
    background: var(--primary-dark);
}

.slider-btn-prev {
    left: 0.5rem;
}

.slider-btn-next {
    right: 0.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.slider-dots button:hover {
    background: var(--secondary-color);
}

.slider-dots button.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .services-slider-track {
        width: 400%;
    }
    .services-slider-wrap .slider-card {
        flex: 0 0 25%;
    }
}

@media (min-width: 1024px) {
    .services-slider-track {
        width: 266.666%;
    }
    .services-slider-wrap .slider-card {
        flex: 0 0 12.5%;
    }
}

/* Slider RH (6 cards) */
.rh-slider-wrap .rh-slider-track {
    width: 600%;
}
.rh-slider-wrap .slider-card {
    flex: 0 0 16.666%;
    min-height: 200px;
    justify-content: flex-start;
}
.rh-slider-wrap .slider-card p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
@media (min-width: 768px) {
    .rh-slider-wrap .rh-slider-track {
        width: 300%;
    }
    .rh-slider-wrap .slider-card {
        flex: 0 0 16.666%;
    }
}
@media (min-width: 1024px) {
    .rh-slider-wrap .rh-slider-track {
        width: 200%;
    }
    .rh-slider-wrap .slider-card {
        flex: 0 0 16.666%;
    }
}

/* Porque nos deve escolher */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.why-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.why-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.why-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.why-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Strip */
.cta-strip {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-strip-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-strip-text {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.cta-strip-btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.cta-strip-btn:hover {
    background: var(--light-bg);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer (estilo SGL: secção principal escura + barra inferior clara) */
.footer {
    color: var(--white);
}

.footer-main {
    background: var(--primary-dark);
    padding: 3.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    max-height: 42px;
    width: auto;
    display: block;
}

.footer-logo-text {
    display: none;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-heading {
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: none;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.65rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-link-highlight {
    color: var(--secondary-color) !important;
}

.footer-contact-block {
    margin: 0;
}

.footer-contact-city {
    font-size: 0.95rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.35rem;
}

.footer-contact-detail {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.footer-contact-detail a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.footer-contact-detail a:hover {
    text-decoration: underline;
}

/* Barra inferior do footer */
.footer-bottom {
    background: #e8e8e8;
    padding: 1.25rem 0;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.footer-bottom-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-logo img {
        max-height: 300px;
    }
    
    .hero-logo-text {
        font-size: 8rem;
    }
    
    .hero-areas {
        grid-template-columns: 1fr;
    }
    
    .hero-area-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile: hamburger visível, nav em dropdown */
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        background: var(--primary-dark);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s;
        align-items: stretch;
        text-align: center;
    }
    
    .header--nav-open .nav {
        max-height: 380px;
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        display: block;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .header--nav-open .nav a {
        color: rgba(255, 255, 255, 0.95);
    }
    
    .header--scrolled.header--nav-open .nav a {
        color: rgba(255, 255, 255, 0.95);
    }
    
    .nav a::after {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding: 0;
    }
    
    .services-list {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-strip-title {
        font-size: 1.4rem;
    }
    
    .cta-strip {
        padding: 3rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem 1.25rem;
    }
    
    .header .container,
    .header-inner {
        flex-direction: row;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-logo img {
        max-height: 250px;
    }
    
    .hero-logo-text {
        font-size: 5rem;
        letter-spacing: 2px;
    }
    
    .hero-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-area-card {
        padding: 1.5rem 1.25rem;
    }
    
    .hero-area-title {
        font-size: 1.1rem;
    }
    
    .hero-intro {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.25rem;
    }
    
    .services-section,
    .rh-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .contact-form {
        padding: 1.25rem 0.9rem;
    }
}

/* Popup de Cotação */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

.popup-overlay.active {
    display: flex;
    pointer-events: auto;
}

.popup-overlay.active * {
    pointer-events: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
    margin: auto;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10001;
    pointer-events: auto;
    touch-action: pan-y;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 1);
    border: 2px solid #ddd;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10002;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.popup-close:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.popup-close:active {
    background: #f0f0f0;
    transform: scale(0.95);
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    margin-top: 0.5rem;
}

.popup-intro {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-form {
    margin-top: 1rem;
}

.quote-form .form-group {
    margin-bottom: 1rem;
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.quote-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.quote-form textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.popup-buttons .submit-btn {
    flex: 1;
    max-width: 200px;
    min-height: 44px;
}

.popup-buttons .cancel-btn {
    flex: 1;
    max-width: 200px;
    min-height: 44px;
}

.cancel-btn {
    flex: 1;
    padding: 1rem;
    background: #e0e0e0;
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cancel-btn:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.cancel-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .popup-overlay {
        padding: 0;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .popup-content {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 15px 15px 0 0;
        min-height: auto;
    }
    
    .popup-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 50px;
        height: 50px;
        font-size: 2rem;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .popup-content h2 {
        font-size: 1.4rem;
        margin-top: 0.5rem;
        margin-bottom: 0.8rem;
        padding-right: 3rem;
    }
    
    .popup-intro {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .quote-form {
        margin-top: 0.5rem;
    }
    
    .quote-form .form-group {
        margin-bottom: 1rem;
    }
    
    .quote-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 1rem;
    }
    
    .quote-form label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .quote-form textarea {
        min-height: 80px;
    }
    
    .popup-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .popup-buttons .submit-btn,
    .popup-buttons .cancel-btn {
        max-width: 100%;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        align-items: flex-end;
        padding-top: 0;
    }
    
    .popup-content {
        padding: 1.2rem 0.8rem;
        border-radius: 15px 15px 0 0;
        width: 100%;
        max-height: 95vh;
    }
    
    .popup-close {
        width: 48px;
        height: 48px;
        font-size: 1.8rem;
        top: 0.3rem;
        right: 0.3rem;
    }
    
    .popup-content h2 {
        font-size: 1.2rem;
        padding-right: 3rem;
        margin-bottom: 0.5rem;
    }
    
    .popup-intro {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .quote-form .form-group {
        margin-bottom: 0.8rem;
    }
    
    .popup-buttons {
        margin-top: 1.2rem;
        gap: 0.6rem;
    }
    
    .popup-buttons .submit-btn,
    .popup-buttons .cancel-btn {
        min-height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 1.5rem 1rem;
    }
    
    .popup-content h2 {
        font-size: 1.3rem;
    }
    
    .popup-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-accept {
    background: var(--secondary-color);
    color: var(--white);
}

.cookie-accept:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.cookie-decline {
    background: #e0e0e0;
    color: var(--text-color);
}

.cookie-decline:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-accept,
    .cookie-decline {
        width: 100%;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
