/* Typography Scale - Centralized Control */
:root {
    /* Hero Section Typography */
    --hero-h1-size: 3rem;          /* Largest - "Box for small business" size */
    --hero-h2-size: 1.5rem;        /* Secondary hero text - "Store, sign, and secure..." size */
    
    /* Section Typography */
    --section-h2-size: 2rem;    /* Section titles - "Simplify and secure your business" size */
    --section-p-size: 1.125rem;    /* Body text - paragraph text size */
    
    /* Line heights for better readability */
    --hero-h1-line-height: 1.2;
    --hero-h2-line-height: 1.4;
    --section-h2-line-height: 1.3;
    --section-p-line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: white;
    color: #54565a; /* text against white or whitish backgrounds */
    margin: 0;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Text selection highlight color */
::selection {
    background-color: #93dbd0;
    color: inherit;
}

::-moz-selection {
    background-color: #93dbd0;
    color: inherit;
}

.navbar {
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(85, 86, 91, 0.15); /* shadow */
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-divider {
    width: 2px;
    height: 45px;
    background-color: #93dbd0;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.logo-text-top {
    color: #54565a;
    font-size: 1rem;
    font-weight: 600;
}

.logo-text-bottom {
    color: #54565a;
    font-size: 1rem;
    font-weight: 600;
}

.navbar-content > a {
    text-decoration: none;
}

.navbar-content > a:hover {
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #54565a; /* text against white or whitish backgrounds */
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    padding-bottom: 8px;
    display: inline-block;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-links li a:hover {
    color: #93dacf; /* greenish and intermediate brightness */
    border-bottom: 2px solid #93dacf;
    padding-bottom: 6px;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #54565a; /* text against white or whitish backgrounds */
}

/* Section Typography */
h2 {
    font-size: var(--section-h2-size);
    font-weight: 600;
    line-height: var(--section-h2-line-height);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 35px;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 27%;
    background-color: #93dbd0; /* styling borders */
}

/* Section body text */
.section-content p {
    font-size: var(--section-p-size);
    line-height: var(--section-p-line-height);
    margin-bottom: 1.5rem;
}

.section-content ul {
    font-size: var(--section-p-size);
    line-height: var(--section-p-line-height);
}

.section-content li {
    margin-bottom: 0.75rem;
}

section {
    width: 100%;
    padding: 40px 0 60px 0;
    margin: 0;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
}

#contato {
    background-color: white;
}

ul {
    padding-left: 20px;
}

a {
    color: #93dacf; /* greenish and intermediate brightness */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #93dacf; /* greenish and intermediate brightness */
}

footer {
    background-color: #f1f4f3; /* same as sobre nós section */
    color: #54565a; /* same as sobre nós section text */
    text-align: center;
    padding: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    font-size: 16px;
    color: #54565a; /* text against white or whitish backgrounds */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #93dacf; /* greenish and intermediate brightness */
    text-decoration: none;
}

.hero {
    background: white;
    color: #54565a; /* text against white or whitish backgrounds */
    text-align: center;
    padding: 100px 20px 80px;
    width: 100vw;
    overflow-x: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero Section Typography */
.hero h1 {
    font-size: var(--hero-h1-size);
    font-weight: 600;
    line-height: var(--hero-h1-line-height);
    margin-bottom: 30px;
    color: #54565a; /* text against white or whitish backgrounds */
}

.hero h2 {
    font-size: var(--hero-h2-size);
    font-weight: 400;
    line-height: var(--hero-h2-line-height);
    color: #54565a; /* text against white or whitish backgrounds */
    margin-bottom: 20px;
}

/* Remove border only for the hero subtitle */
.hero-subtitle {
    padding-bottom: 0;
}

.hero-subtitle::after {
    display: none;
}

.hero h4 {
    color: #93dacf; /* greenish and intermediate brightness */
}

.my_form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.my_form input[type="email"] {
    padding: 12px 16px; 
    font-size: 16px;
    border: 1px solid #93dbd0; /* styling borders */
    border-right: none;
    outline: none;
    flex: 1;
    min-width: 220px;
}

.my_form button {
    background-color: #93dacf; /* greenish and intermediate brightness backgrounds */
    color: #55565b; /* text against greenish backgrounds */
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.my_form button:hover {
    background-color: #93dbd0; /* styling */
}

.my_button {
    background-color: #93dacf; /* greenish and intermediate brightness backgrounds */
    color: #55565b; /* text against greenish backgrounds */
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.my_button:hover {
    background-color: #93dbd0; /* styling */
}

@media (max-width: 768px) {
    /* Responsive Typography */
    :root {
        --hero-h1-size: 2rem;
        --hero-h2-size: 1.25rem;
        --section-h2-size: 1.6rem;
        --section-p-size: 1rem;
    }

    .navbar-content {
        justify-content: space-between;
        gap: 15px;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-divider {
        height: 38px;
    }

    .logo-text-top,
    .logo-text-bottom {
        font-size: 0.875rem;
    }

    .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 80px;
    left: 10%;
    width: 80%;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(85, 86, 91, 0.2);
    z-index: 998;
    border-top: 2px solid #93dbd0; /* styling borders */
    }

    .nav-links.show {
    display: flex;
    }

    .nav-links.show li {
    width: 100%;
    }

    .nav-links.show li a {
    display: block;
    padding: 10px 12px;
    }

    .nav-links.show li:nth-child(even) {
    background-color: #f1f4f3; /* brighter backgrounds */
    border-radius: 4px;
    }

    .hamburger {
    display: block;
    }
}