@font-face {
    font-family: 'GTUltra';
    src: url('fonts/GTUltra-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GTUltra';
    src: url('fonts/GTUltra-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SourceSansPro', sans-serif;
}

input,
input::placeholder {
    font-family: 'SourceSansPro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    width: 350px;
}

input {
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid #c9c9c9;
}

select {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: white;
    appearance: none;          /* remove a setinha padrão */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;

    background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><polygon points="5,7 15,7 10,12"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center; /* pos da setinha */
    background-size: 14px;
    width: 350px;
    
    transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus {
    border-color: #34E57B;
    box-shadow: 0 0 0 2px #00ff8c40;
    outline: none;
}



body {
    background: #f4f5f7;
    padding: 40px;
    color: #222;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* form */
.formulario h1 {
    margin-bottom: 24px;
    font-size: 32px;
    font-weight: 700;
    font-family: 'GTUltra', sans-serif;
}

.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    gap: 8px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

input {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #34E57B;
    box-shadow: 0 0 0 2px #00ff8c40;
    outline: none;
}

/* Botoes */
button {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #34E57B;
    color: black;
    font-size: 15px;
    letter-spacing: 0.2px;
    font-weight: 600;
    width: 160;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #34E57B;
}

button:active {
    transform: scale(0.97);
}

#copy-btn {
    margin-top: 16px;
}

/* resultado */
.resultado h2 {
    margin-bottom: 36px;
    font-size: 24px;
    font-family: 'GTUltra', sans-serif;
    font-weight: 700;
}

#preview {
    background: white;
    padding: 24px;
    border-radius: 16px;
    min-height: 140px;
    border: 1px solid #ddd;
    overflow-x: auto;
}

/* NAVBAR */
.navbar {
    width: 100%;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px #00000015;
    margin-bottom: 30px;
    border-radius: 16px;
}

.navbar-logo {
    height: 45px;
    object-fit: contain;
}


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