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

:root {
    font-size: 62.5%; /* 1rem = 10px */
    
   

    --primary-color: #1901C6;
    --headline-color: hsl(210, 11%, 15%);
    --paragraph-color: hsl(210, 9%, 31%);

    --brand-beige-color: hsl(39, 100%, 97%);
    --brand-light-color: #b8c5f3;
    --brand-light-color-2: hsl(calc(var(--hue) + 10), 14%, 97%);
    --brand-button-hover-color: hsl(var(--hue), 100%, 14%);

    --background-light-color: hsl(180, 14%, 97%);

    --nav-height: 7.2rem;

    --brand-gradient: linear-gradient(to right, #1203C6, #5C00BD);
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-image: linear-gradient(to right, #ffffff, #ffffff);

    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;

    text-align: center;

    overflow: overlay;
}

.wrapper {
    width: min(50rem, 100%);
    margin-inline: auto;
    padding-inline: 2.4rem; /* inline = left and right */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

section {
    padding-block: 10rem; /* block = top and bottom */
}

section header h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    line-height: 150%;
    letter-spacing: 0.08rem;
    text-transform: uppercase;

    margin-bottom: 1.6rem;
}

section header h2 {
    color: #ffffff;
    font-size: 3rem;
    line-height: 3.9rem;
}

section header h1 {
    font-size: 3.4rem;
    line-height: 1.1; /* ou 110% ou mesmo 1 */
    margin-bottom: 2.4rem;
    margin-top: 2rem;

    background-image: linear-gradient(to right, #1203C6, #5C00BD);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}



section .content p {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 150%;
}

.button {
    background-color: var(--primary-color);

    border: none;
    border-radius: 4rem;

    padding: 1.6rem 3.2rem;
    width: fit-content; /* largura adaptada ao conteúdo */
    margin-bottom: 6rem;

    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;

    text-decoration: none;

    transition: background 200ms;
}

.button:hover {
    background-color: var(--brand-button-hover-color);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    color: #FFFFFF;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem; /* Espaçamento entre os ícones */
}

.social-links a, 
.social-links i, 
.social-links svg {
    color: #FFFFFF;         /* Cor branca */
    font-size: 2.4rem;       /* Tamanho maior, ajuste conforme necessário */
    text-decoration: none;   /* Remove sublinhado se forem links */
    transition: transform 0.3s ease;
}

.social-links a:hover,
.social-links i:hover,
.social-links svg:hover {
    transform: scale(1.2);   /* Efeito de zoom ao passar o mouse (opcional) */
}


/* CUSTOM COLORS */
#navigation .logo path[fill*="#00856F"], /* busca o fill que possui essa cor específica */
#backToTopButton circle { 
    fill: var(--primary-color);
}

body.menu-expanded #navigation .logo path,
#navigation.scroll .logo path { /* volta pro branco quando der scroll */
    fill: #FFFFFF;
}



#services .card circle {
    fill: var(--brand-light-color);
}

button.open-menu path[stroke*="#00856F"], 
#contact li path {
    stroke: var(--primary-color);
}

button.open-menu1 path[stroke*="#00856F"], 
#contact li path {
    stroke: var(--primary-color);
}



#navigation.scroll button.open-menu path[stroke*="#00856F"] {
    stroke: #ffffff;
}

.open-menu svg path {
  stroke: #ffffff !important;
}



/* ==================== NAVIGATION =================== */
nav {
    display: flex;

    width: 100vw;
    height: var(--nav-height);

    position: fixed;
    top: 0;
    z-index: 100;
    background: linear-gradient(to right, #1203C6, #5C00BD);
}

nav .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

nav.scroll {
    background-color: var(--primary-color);
}

nav button {
    background: none;
    border: none;
    cursor: pointer;
}

nav .menu,
nav .close-menu {
    position: fixed;
}







/* ================= MENU-EXPANDED ================== */
body.menu-expanded {
    overflow: hidden;
}

body.menu-expanded > :not(nav) {
    visibility: hidden;
}

.menu, 
.close-menu,
body.menu-expanded .open-menu {
    opacity: 0;
    visibility: hidden;
}

body.menu-expanded .menu, 
body.menu-expanded .close-menu {
    opacity: 1;
    visibility: visible;
}

.menu {
    transform: translateY(100%);
}

body.menu-expanded .menu {
    background-color: var(--primary-color);

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    padding-top: var(--nav-height);

    transition: transform 300ms;
    transform: translateY(0);
}

.menu ul:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;

    margin-top: 6rem;

    font-size: 2.4rem;
    font-weight: 700;
    line-height: 3.1rem;
}

.menu ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

.menu .button {
    background-color: #FFFFFF;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 2.3rem;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    border-radius: 4rem;
    margin: 1.6rem auto; /* Centraliza e reduz o espaçamento vertical */
    padding: 1.6rem 3.2rem;
    text-align: center;  /* Garante que o texto dentro do botão fique centralizado */
    width: fit-content;  /* Faz o botão ter largura apenas o suficiente pro conteúdo */
}


.menu .button:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;

    filter: brightness(1.3);
}

body.menu-expanded .logo,
body.menu-expanded button {
    position: relative;
    z-index: 100;
}

body.menu-expanded .logo path {
    fill: #FFFFFF;
}

body.menu-expanded button path {
    stroke: #FFFFFF;
}

/* ====================== HOME ====================== */
#home {
    padding-block: 0;
    padding-top: calc(4.1rem + var(--nav-height));
}

#home::before {
    content: "";
    width: 100%;
    height: calc(76% + var(--nav-height));
    background: var(--brand-light-color-2);
    display: block;

    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#home .button {
    margin-inline: auto;
}

#home p {
    color: var(--paragraph-color);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 150%;
    
    margin-bottom: 3.2rem;
}

#home img {
    width: 26.4rem;
    display: block;
    margin-inline: auto;
    object-position: 0 2rem;
}

#home .stats {
    background: linear-gradient(to right, #1203C6, #5C00BD);
    width: 100%;

    margin-inline: auto;
    padding-block: 4rem;
    border-radius: 100px; /* funciona com border-image também */

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6rem;
}

#home .stat h3 {
    font-size: 4.8rem;
    line-height: 130%;
    
    margin-bottom: 0.4rem;

    background-image: linear-gradient(to right, #ffffff, #ffffff );
    background-clip: text;              /* Standard declaration (has no effect now, but safe to include) */
    -webkit-background-clip: text;      /* Required for WebKit-based browsers (Chrome, Safari, Edge) */
    color: transparent;
}

#home .stat p {
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 150%;

    margin: 0;
}

/* ==================== SERVICES ==================== */
#services header h2 {
    margin-bottom: 6rem;
}

#services .cards {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

#services .card {
    background-color: #FFFFFF;

    padding: 2.4rem;
    border: 1px solid var(--brand-light-color);
    border-radius: 0.6rem;

    text-align: left;
}

#services .card h3 {
    margin-block: 1.6rem;
}

/* ====================== ABOUT ===================== */
#about {
    margin-top: 12rem;
    background-image: linear-gradient(to right, #1203C6, #5C00BD);
    text-align: center;
}

#about header h2 {
    margin-bottom: 2.4rem;
}

#about .content p {
    margin-top: 2.4rem;
    margin-bottom: 6rem;
}

/* ====================== CONTACT ==================== */
#contact {
    text-align: center;
    background-image: linear-gradient(to right, #1203C6, #5C00BD);
    color: #FFFFFF;
}

#contact header {
    margin-bottom: 3.2rem;
}

#contact ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza a lista como um todo */
    gap: 1.6rem;
    margin-bottom: 3.2rem;
    padding: 0;
    list-style: none;
}

#contact ul li {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza ícone + texto */
    gap: 0.8rem;
    flex-direction: column;
}



#contact .button-wrapper {
    display: flex;
    justify-content: center;
}

#contact .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 auto;
}

#contact svg {
    stroke: white;
    fill: white;
}

#contact header h1 {
    color: white;
}







/* ======================= FOOTER ==================== */
.site-footer {
  background: #ffffff;
  color: #1203C6;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-social a {
  color: #1203C6;
  font-size: 28px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #5900BD;
}

.footer-rights p {
  font-size: 14px;
  color: #000000;
}


.footer-rights a {
  text-decoration: none; /* Remove o sublinhado */
  color: #000000; /* Altere essa cor conforme desejar */
  font-weight: bold; /* Opcional: deixa o texto em negrito */
  transition: color 0.3s ease; /* Suaviza a transição de cor ao passar o mouse */
}

.footer-rights a:hover {
  color: #1203C6; /* Cor ao passar o mouse */
}

.footer-rights a {
  font-weight: normal !important;
}





/* Responsivo */
@media (max-width: 600px) {
  .footer-logo img {
    max-width: 120px;
  }

  .footer-social {
    gap: 18px;
  }

  .footer-social a {
    font-size: 24px;
  }

  .footer-rights p {
    font-size: 13px;
  }
}

.cards-footer {
  margin-top: 50px;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cards-footer .pink {
  color: #1203C6;
  font-weight: bold;
}


.footer .grid-list { grid-template-columns: repeat(4, 1fr); }

address.footer-text {
    padding-inline-end: 100px;
    margin-block-end: 16px;
  }




/* BACK TO TOP */
#backToTopButton {
    position: fixed;
    bottom: 1rem;
    right: 2.5rem;

    opacity: 0;
    visibility: hidden;

    transform: translateY(100%);
    transition: 200ms;
}

#backToTopButton.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* ==================== MEDIA QUERIES ================= */
@media (min-width: 1024px) {
    /* GERAL */
    body {
        overflow: auto;
    }

    .wrapper {
        width: min(112rem, 100%);
        /*

        display: grid;

        */
    }

  /*

    .col-a {
        grid-area: A;
    }

  */

    .col-b {
        grid-area: B;
    }

    section {
        padding-block: 16rem;
    }

    section header h2 {
        font-size: 4rem;
        line-height: 5.2rem;
    }

    /* NAVIGATION */
    nav#navigation .wrapper * {
        margin: 0;
        padding: 0;
        visibility: initial;
        display: initial;
        opacity: initial;
        flex-direction: initial;
        position: inherit;
        font-size: initial;
        font-weight: initial;
        transform: initial;
        color: initial;
        background-color: initial;
        filter: initial;
    }

    nav#navigation .close-menu,
    nav#navigation .open-menu,
    nav#navigation .social-links {
        display: none;
    }

    nav#navigation .menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 60%;
        
    }

    nav#navigation .menu ul:nth-child(1) {
        display: flex;
        gap: 3.2rem;
    }

    nav#navigation .menu ul li a {
        color: #FFFFFF;
        opacity: 0.7;
    }

    nav#navigation .menu a.button {
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 1rem 2.4rem;
        border: 1px solid #FFFFFF;
        border-radius: 4rem;

        color: #FFFFFF;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 1.8rem;
        text-transform: uppercase;
    }

    nav#navigation .menu a.button:hover {
        background-color: var(--primary-color);
        color: #FFFFFF;
        border: none;
    }

    nav#navigation.scroll .menu ul li a {
        color: var(--brand-light-color-2);
        opacity: 0.6;
    }

    nav#navigation.scroll .menu a.button {
        border-color: #FFFFFF;
        color: #FFFFFF;
    }

    nav#navigation .menu li a {
        transition: opacity 0.4s;
    }

    nav#navigation .menu li a:hover {
        opacity: 1;
        font-weight: 700;
    }

    nav#navigation .menu li a::after {
        content: "";
        width: 0;
        height: 2px;
        background-color: var(--primary-color);

        position: relative;
        bottom: -1.91rem;
        left: -0.7rem;
        display: block;

        transition: width 0.2s;
    }

    nav#navigation.scroll .menu li a::after {
        background-color: #FFFFFF;
    }

    nav#navigation .menu li a.active::after,
    nav#navigation .menu li a:hover::after {
        padding-inline: 0.7rem;
        width: 100%;
    }

    nav#navigation.scroll .menu li a.active,
    nav#navigation.scroll .menu li a:hover {
        opacity: 1;
    }

    nav#navigation.scroll .menu a.button.active,
    nav#navigation.scroll .menu a.button:hover {
        background-color: var(--primary-color);
        filter: brightness(1.3);
        border: none;
    }

    /* HOME */
    #home::before {
        height: calc(96% - var(--nav-height));
    }

    #home {
        padding-top: var(--nav-height);
    }

    #home .wrapper {
         grid-template-columns: 60.5rem 1fr; 
        grid-template-areas: 
            'A B'
            'C C';
    }

    #home .col-a {
        margin-top: 4rem;
        text-align: left;
        align-self: center;
    }

    #home h1 {
        font-size: 5.2rem;
    }

    #home p {
        font-size: 1.8rem;
    }

    #home .stats {
        grid-area: C;

        flex-direction: row;
        padding: 6rem;
        gap: 0;
    }

    #home .stats .stat + .stat { /* aplica no stat que tem outro stat antes dele */
        border-left: 1px solid #ffffff;
    }

    #home .stats .stat {
        flex: 1;
    }

    #home .button {
        margin: 0;
    }

    #home img {
        width: 42rem;
    }

    /* SERVICES */
    #services h2 {
        width: 50rem;
        margin-inline: auto;
    }

    #services .cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4rem;
    }

    #services .card {
        width: 30%;
        flex-grow: 1;
    }





    /* ABOUT */
    #about .wrapper {
        grid-template-columns: 48rem 1fr;
        grid-template-areas: 'B A';
        gap: 6.7rem;
    }

   #about .col-a {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


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

    /* CONTACT */
    #contact .wrapper {
        grid-template-columns: 1fr 57.5rem;
        grid-template-areas: 'A B';
    }

    #contact h2 {
        width: 40.4rem;
    }

    /* FOOTER */
    footer {
        padding-block: 8rem;
    }
    
    footer .wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 'A B';
    }

    footer .col-a {
        align-self: center;
    }

    footer .col-b {
        align-self: center;
        justify-self: flex-end;
    }

    footer p {
        margin-bottom: 0;
    }
}



/* servicos.css */
/* Seção de Serviços */
.services-section {
    padding: 100px 80px; /* Adicionado padding lateral para dar mais espaçamento */
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    background: linear-gradient(to right, #1203C6, #5C00BD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Para compatibilidade extra (não é obrigatório): */
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}


.section-title p {
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ajustado para 3 por linha */
    gap: 30px;
    margin-bottom: 50px;
    justify-items: center; /* Centraliza os cards na tela */
}

/* Card de Serviço */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Garantir que o card ocupe toda a largura disponível */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-content .btn {
    display: inline-block;
    background-image: linear-gradient(to right, #1203C6, #5C00BD);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.service-content .btn:hover {
    background-color: #2980b9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s;
}

.modal-content {
    background: white;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #1203C6, #5C00BD);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 5px 20px rgba(90, 95, 238, 0.548);
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: modalFadeIn 0.3s;
}


.modal-body ul {
  list-style: none; /* Remove bullets */
  padding-left: 0;
  text-align: left;
}

.modal-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  
}

.modal-body ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #1203C6; /* Cor do check */
  font-weight: bold;
  font-size: 18px;
}



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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1203C6;
}

.modal-header h3 {
    font-size: 24px;
    color: #1203C6;
}

.close-btn {
    font-size: 28px;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #1203C6;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 20px;
    color: #555;
    margin-bottom: 15px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajusta para tamanho menor em telas pequenas */
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .service-card {
        max-width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (min-width: 769px) and (max-width: 1029px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        justify-items: center;
    }

    .service-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
        text-align: left;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .service-card p {
        flex-grow: 1;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .service-card .button-saiba-mais {
        align-self: flex-start;
        margin-top: auto;
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Espaça conteúdo e botão */
    height: 100%; /* Ocupa todo o espaço disponível */
    padding: 20px;
    box-sizing: border-box;
}


.service-card .button-saiba-mais {
    margin-top: auto; /* Empurra o botão para o final */
    align-self: flex-start; /* Opcional: alinha à esquerda */
}



