@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --primary-dark: #05193B;
    --primary-blue: #214167;
    --medium-blue: #4B7A9F;
    --light-blue: #B3CDE4;
    --accent-mustard: #E29C46;
    --white: #FFFFFF;
    --bg-light: #F4F7F9;
    --text-dark: #1F2A38;
    --text-light: #6B7280;
    --shadow-sm: 0 4px 6px rgba(5, 25, 59, 0.05);
    --shadow-md: 0 10px 20px rgba(5, 25, 59, 0.08);
    --shadow-lg: 0 20px 40px rgba(5, 25, 59, 0.12);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-dark);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img,
video {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* Typography Classes */
.heading-1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.heading-2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.heading-3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.paragraph-large {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-mustard);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(226, 156, 70, 0.3);
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 156, 70, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(226, 156, 70, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(226, 156, 70, 0);
    }
}

.btn-primary:hover {
    background-color: #cf8b39;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 156, 70, 0.4);
    animation: none;
    /* remove o pulse no hover para dar feedback fixo ao usuario */
}

.btn-secondary {
    background-color: var(--light-blue);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: #a4c1db;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(33, 65, 103, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    border-radius: 0;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-blue);
}

.nav-link:hover {
    color: var(--accent-mustard);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Camada sobre o vídeo para facilitar a leitura */
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Eleva os componentes da hero para ficar sobre a sobreposição do fundo */
}

.hero-content {
    max-width: 600px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(75, 122, 159, 0.1);
    color: var(--medium-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: -6rem; /* Encosta perfeitamente na base do Hero */
    z-index: 1;
}

.hero-media::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(179, 205, 228, 0.4) 0%, rgba(226, 156, 70, 0.1) 100%);
    border-radius: 50% 40% 60% 40% / 40% 50% 60% 50%;
    z-index: -1;
    bottom: 0;
    animation: blob-float 10s ease-in-out infinite;
}

@keyframes blob-float {
    0%, 100% { border-radius: 50% 40% 60% 40% / 40% 50% 60% 50%; transform: translateY(0) rotate(0deg); }
    50% { border-radius: 40% 60% 50% 40% / 50% 40% 50% 60%; transform: translateY(-10px) rotate(2deg); }
}

.image-container {
    width: 115%;
    margin-left: -7.5%;
    position: relative;
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 20px 40px rgba(5, 25, 59, 0.15));
}

.floating-card {
    position: absolute;
    bottom: 3rem;
    left: -1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--light-blue);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-text h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.floating-text p {
    font-size: 0.875rem;
    color: var(--text-light);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features/Problem section */
.section {
    padding: 6rem 0;
}

.bg-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

.bg-dark .paragraph-large {
    color: rgba(255, 255, 255, 0.8);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse>* {
    direction: ltr;
}

.image-stack {
    position: relative;
}

.image-stack img.main {
    width: 85%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-stack img.accent {
    width: 45%;
    position: absolute;
    bottom: -3rem;
    right: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 10px solid var(--white);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list .icon {
    background: rgba(226, 156, 70, 0.1);
    color: var(--accent-mustard);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Services Grid */
.text-center {
    text-align: center;
}

.services-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 65, 103, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--light-blue);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Authority Section */
.bg-blue {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.bg-blue h2 {
    color: var(--white);
}

.bg-blue .btn-primary {
    margin-top: 2rem;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header .tagline {
    margin-bottom: 1.5rem;
}

/* Journey Section */
.journey-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
}

.journey-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(33, 65, 103, 0.08);
    position: relative;
    flex: 1;
    max-width: 360px;
    transition: all 0.4s ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.journey-card--highlight {
    border-color: var(--accent-mustard);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(226, 156, 70, 0.2);
}

.journey-card--highlight:hover {
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(226, 156, 70, 0.3);
}

.journey-step {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-blue);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1rem;
}

.journey-card--highlight .journey-step {
    color: var(--accent-mustard);
    opacity: 0.5;
}

.journey-icon {
    width: 56px;
    height: 56px;
    background: rgba(75, 122, 159, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.journey-card--highlight .journey-icon {
    background: rgba(226, 156, 70, 0.12);
    color: var(--accent-mustard);
}

.journey-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.journey-quote {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--light-blue);
}

.journey-card--highlight .journey-quote {
    border-left-color: var(--accent-mustard);
}

.journey-details {
    list-style: none;
    padding: 0;
}

.journey-details li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.journey-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-blue);
}

.journey-card--highlight .journey-details li::before {
    background: var(--accent-mustard);
}

.journey-badge {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    background: rgba(226, 156, 70, 0.1);
    color: var(--accent-mustard);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    flex-shrink: 0;
}

/* About Section (Humanized) */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    height: 100%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    min-height: 500px;
}

.about-content {
    padding: 3rem 3rem 3rem 0;
}

.about-content .tagline {
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(33, 65, 103, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent-mustard);
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(33, 65, 103, 0.08);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--medium-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.journey-card.reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.journey-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.journey-card.reveal-on-scroll:nth-child(5) { transition-delay: 0.3s; }

.service-card.reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.service-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.testimonial-card.reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.testimonial-card.reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* Footer / CTA Final */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.cta-section p:not(.cta-subtext) {
    color: var(--light-blue);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-section p.cta-subtext {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--light-blue);
    opacity: 0.8;
}

footer {
    background-color: var(--primary-dark);
    padding: 4rem 0 2rem 0;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-mustard);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }

    .hero .container {
        gap: 2rem;
    }

    .split-section {
        gap: 2rem;
    }
}

@media (max-width: 992px) {

    .hero .container,
    .split-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .split-section.reverse>* {
        direction: ltr;
    }

    .split-section.reverse .image-stack {
        order: 2;
        /* Move a imagem para baixo no mobile */
    }

    .split-section.reverse .text-content {
        order: 1;
        /* Move o texto para cima no mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 12rem 0 4rem 0;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .bg-blue {
        padding: 3rem;
        text-align: center;
    }

    .journey-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .journey-card {
        max-width: 100%;
    }

    .journey-connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .about-block {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-content {
        padding: 2.5rem;
    }

    .about-image img {
        min-height: 350px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .header .container {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
        /* Em mobile muito pequeno oculta o botao grande superior */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .heading-1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .heading-2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .bg-blue {
        padding: 2rem 1.5rem;
    }

    .floating-card {
        display: none;
    }

    .cta-section {
        padding: 4rem 1rem;
    }

    .cta-section h2 {
        font-size: 2.2rem !important;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .image-stack img.main {
        width: 100%;
    }

    .image-stack img.accent {
        display: none;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 2rem 1.5rem;
    }

    .about-image img {
        min-height: 280px;
    }
}

@media (max-width: 480px) {

    .logo img,
    .footer-logo img {
        height: 60px;
    }

    .hero {
        padding: 10rem 0 3rem 0;
    }

    .tagline {
        font-size: 0.75rem;
    }
}