:root {
    --ink: #12345b;
    --green: #1764ca;
    --cream: #f8fbff;
    --sand: #9cc9ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial, sans-serif;
    line-height: 1.65
}

a {
    color: inherit
}

header,
section,
footer {
    padding: 24px max(6vw, 20px)
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dcded4
}

.brand {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none
}

nav {
    display: flex;
    gap: 25px;
    font-size: 14px
}

nav a {
    text-decoration: none
}

.label {
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: bold
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
    line-height: 1.12;
    font-weight: normal
}

h1 {
    font-size: clamp(43px, 5.7vw, 78px);
    margin: 22px 0
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 14px 0 25px
}

h3 {
    font-size: 25px
}

p {
    max-width: 650px
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 6vw;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 70px
}

.lead {
    font-size: 19px;
    color: #4c6762
}

.btn {
    display: inline-block;
    padding: 14px 23px;
    border-radius: 30px;
    background: var(--green);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px
}

.secondary {
    background: transparent;
    color: var(--green);
    border: 1px solid var(--green);
    margin-left: 10px
}

.art {
    background: #d9eaff;
    border-radius: 180px 180px 20px 20px;
    padding: 50px 25px 25px;
    position: relative
}

.art svg {
    width: 100%;
    height: auto
}

.journey {
    background: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: 0 12px 25px #224b3a10
}

.journey strong {
    font-family: Georgia, serif;
    font-size: 22px
}

.journey p {
    margin: 8px 0
}

.strip {
    background: var(--ink);
    color: white;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
    font-size: 13px;
    flex-wrap: wrap
}

.space {
    padding-top: 75px;
    padding-bottom: 75px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    padding: 28px;
    border: 1px solid #d5dbcd;
    border-radius: 18px;
    background: #fffdfa
}

.card p {
    font-size: 15px;
    color: #536b64
}

.num {
    font-size: 12px;
    color: var(--green);
    font-weight: bold
}

#sobre {
    align-items: start
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;
    align-items: center
}

.dark {
    background: var(--ink);
    color: white
}

.dark .label {
    color: #b8d6bb
}

.steps {
    list-style: none;
    padding: 0;
    counter-reset: n
}

.steps li {
    padding: 17px 0;
    border-bottom: 1px solid #d5dbcd;
    counter-increment: n
}

.steps li:before {
    content: "0" counter(n);
    color: var(--green);
    margin-right: 18px;
    font-weight: bold
}

.quote {
    font-family: Georgia, serif;
    font-size: 33px;
    line-height: 1.4;
    padding: 35px;
    border-left: 2px solid var(--sand)
}

details {
    padding: 18px 0;
    border-bottom: 1px solid #d5dbcd
}

summary {
    cursor: pointer;
    font-weight: bold
}

.contact {
    background: #e5f0ff;
    border-radius: 22px;
    padding: 40px
}

.note {
    font-size: 12px;
    color: #617068
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px
}

dialog {
    max-width: 480px;
    border: 0;
    border-radius: 20px;
    padding: 32px;
    color: var(--ink)
}

dialog::backdrop {
    background: #163b3cb0
}

button {
    font: inherit;
    cursor: pointer
}

.demo {
    background: #e8f1ff;
    color: #325579;
    text-align: center;
    padding: 8px;
    font-size: 12px
}

@media(max-width:760px) {
    nav {
        gap: 12px
    }

    nav a:last-child {
        display: none
    }

    .hero,
    .split,
    .cards {
        grid-template-columns: 1fr
    }

    .hero {
        padding-top: 35px
    }

    .art {
        max-width: 460px;
        margin: auto
    }

    .space {
        padding-top: 45px;
        padding-bottom: 45px
    }

    .foot {
        display: block
    }

    .secondary {
        margin: 12px 0
    }

    .quote {
        padding: 20px;
        font-size: 28px
    }
}

@media print {

    .demo,
    nav,
    .btn {
        display: none
    }

    .hero {
        padding-top: 20px
    }

    section {
        break-inside: avoid
    }

    body {
        background: white
    }
}

/* Paleta azul: azul vivo, azul-marinho e fundos claros */
header {
    background: #fff;
    border-bottom: 1px solid #d1e3fb
}

.brand {
    color: #1758b0
}

.hero {
    background: linear-gradient(120deg, #f5f9ff 0%, #e2efff 65%, #c4ddff 100%)
}

.art {
    background: linear-gradient(145deg, #85baff, #e1efff);
    box-shadow: 0 18px 45px #1764ca18
}

.btn {
    background: #147248;
    box-shadow: 0 6px 16px #14724825;
    transition: background .2s, transform .2s;
}

.btn:hover {
    background: #104a9e;
    transform: translateY(-2px)
}

.btn.secondary {
    background: transparent;
    color: #1758b0;
    border-color: #1758b0;
    box-shadow: none
}

.label,
.num {
    color: #1758b0
}

.strip {
    background: #1758b0;
    color: #fff
}

.card {
    background: #fff;
    border-color: #cfdef3;
    border-top: 4px solid #3689ed;
    box-shadow: 0 9px 25px #12345b08
}

.card:nth-child(3n+2) {
    border-top-color: #5d9deb
}

.card:nth-child(3n) {
    border-top-color: #88b8f6
}

.card p,
.lead {
    color: #425d7a
}

.dark {
    background: linear-gradient(120deg, #175bb7, #10356e)
}

.dark .label {
    color: #c2deff
}

.quote {
    border-color: #9cc9ff
}

.contact {
    background: linear-gradient(125deg, #d2e5ff, #edf5ff);
    border: 1px solid #adcdf5
}

.demo {
    background: #e5efff;
    color: #294e7c
}

footer {
    background: #eaf3ff;
    border-top: 1px solid #cfdef3
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #155bc1;
    outline-offset: 5px
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .btn {
        transition: none
    }

    .btn:hover {
        transform: none
    }
}

/* Azul e verde: mar, confiança e acolhimento */
.hero {
    background: linear-gradient(120deg, #f4f9ff 0%, #dceeff 50%, #dbf7e8 100%)
}

.art {
    background: linear-gradient(145deg, #83baff 0%, #91dfb6 100%)
}

.brand {
    color: #1758b0
}

.label,
.num {
    color: #147248
}

.btn {
    background: #147248;
    box-shadow: 0 6px 16px #14724825
}

.btn:hover {
    background: #0d5836
}

.btn.secondary {
    background: transparent;
    color: #1758b0;
    border-color: #1758b0;
    box-shadow: none
}

.strip {
    background: linear-gradient(100deg, #175bb7, #147248)
}

.card {
    border-top-color: #3689ed
}

.card:nth-child(3n+2) {
    border-top-color: #27a56b
}

.card:nth-child(3n) {
    border-top-color: #6cc996
}

.dark {
    background: linear-gradient(120deg, #175bb7 0%, #105d51 100%)
}

.dark .label {
    color: #b9f0d0
}

.quote {
    border-color: #81d8a7
}

.contact {
    background: linear-gradient(125deg, #d2e5ff, #dcf7e5);
    border-color: #abd8c1
}

.steps li:before {
    color: #147248
}

footer {
    background: linear-gradient(100deg, #eaf3ff, #eaf8ee)
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline-color: #147248
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 32px
}

.price-value {
    font-size: 52px;
    font-weight: bold;
    color: #1758b0;
    line-height: 1.2;
    margin: 15px 0
}

.price-value small {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #425d7a;
    margin-bottom: 7px
}

.custom-price {
    font-size: 32px;
    padding-top: 20px
}

.price-card ul {
    padding-left: 20px;
    flex: 1;
    margin-bottom: 25px
}

.price-card li {
    margin: 9px 0
}

.price-card .btn {
    align-self: flex-start
}

.price-note {
    background: #edf6ff;
    border-left: 4px solid #147248;
    padding: 22px 26px;
    margin-top: 24px;
    border-radius: 10px
}

.price-note p {
    max-width: none;
    font-size: 14px;
    margin-bottom: 8px
}

#precos {
    scroll-margin-top: 20px
}

@media(max-width:760px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }

    nav {
        flex-wrap: wrap;
        gap: 10px
    }

    .price-card {
        padding: 24px
    }
}

.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.price-card {
    padding: 24px
}

.price-value {
    font-size: 36px
}

.custom-price {
    font-size: 25px
}

.price-card h3 {
    font: 700 19px Arial, sans-serif
}

.price-card .num {
    display: none
}

.price-card p {
    font-size: 14px
}

.price-card li {
    font-size: 14px
}

.price-card .btn {
    font-size: 13px
}

@media(max-width:1050px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:650px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:760px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }

}

.card {
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(18, 52, 91, .12);
}

main {
    max-width: 1400px;
    margin: 0 auto;
}

p {
    font-size: 16px;
}