:root {
    --primary: #2A9D8F;
    --primary-dark: #1E7A6F;
    --secondary: #264653;
    --accent: #E76F51;
    --accent-hover: #D45A3D;
    --text: #333333;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
    --tooltip-bg: rgba(0, 0, 0, 0.8);
}

/* Estilo do Balão de Alerta */
.alert-box {
    background-color: #fff3cd;
    border-color: #ffeeba;
    border-left: 6px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2em;
    color: #856404;
}

.alert-box i {
    color: #856404;
    font-size: 1.5em;
}

.alert-box p {
    margin: 0;
    line-height: 1.6;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--background);
    line-height: 1.6;
    color: var(--secondary);
}

.header {
    background: linear-gradient(135deg, rgb(42 157 143 / 88%), rgb(38 70 83 / 85%)), url(../img/p2.jpg) center / cover;
    color: white;
    text-align: center;
    padding: 29px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
button.copy-button svg {
    font-family: Arial, sans-serif;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.cta-button {
    font-size: 1.5em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3caf66;
    color: white;
    padding: 18px 35px;
    margin: 25px 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #38985b;
}

.section-title {
    font-size: 2.5em;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--primary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.document-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.document-card:hover {
    transform: translateY(-5px);
}
.px25 {
    font-size: 25px;
}

.document-card i {
    font-size: 38px;
    color: var(--accent);
    min-width: 50px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

.gallery-item {
    width: 600px;

    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.document-link {
    text-decoration: none;
    color: inherit;
}

.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 3rem 0;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.info-box h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 30px;
}

footer {
    font-size: 1.2em;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;

    background: linear-gradient(135deg, rgb(42 157 143 / 88%), rgb(38 70 83 / 85%)), url(../img/p2.jpg) center / cover;
}

/*--------------------------------------------------------------
# PARA DISPOSITIVOS MÓVEIS
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
footer {
    font-size: 1em;
}
    /* Regras CSS para dispositivos móveis */
    header h1 {
        font-size: xx-large;
    }
}

@media (max-width: 768px) {


    .header {
        padding: 80px 15px;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .container {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 2em;
    }
}

.title {
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: bold;
}

.link-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-field {
    background-color: var(--white);
    border: 1px solid rgb(185, 185, 185);
    border-radius: var(--radius);
    color: rgb(40, 40, 40);
    line-height: 24px;
    font-size: 16px;
    max-height: 48px;
    padding: 12px 16px;
    width: 100%;
    outline-style: none;
    box-shadow: var(--shadow);
}

.copy-button {
    cursor: pointer;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 12px 12px;
    position: relative;
    transition: var(--transition);
}

.copy-button:hover {
    background-color: var(--primary-dark);
}

.tooltip {
    visibility: hidden;
    background-color: var(--tooltip-bg);
    color: #fff;
    text-align: center;
    border-radius: var(--radius);
    padding: 5px;
    position: absolute;
    z-index: 1;
    left: -200%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s;
}

.copy-button.show-tooltip .tooltip {
    visibility: visible;
    opacity: 1;
}


#devlogo img {
    max-width: 200px;
    height: auto;
}