/* ==========================================================================
   G&P Marcos Contabilidade — one-page site
   Built on Bootstrap 5.3 + Font Awesome 6 + Swiper 11 + AOS
   All custom rules live in this single stylesheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
    font-family: "reeyregular";
    src: url("../fonts/reey-regular-webfont.woff2") format("woff2"),
         url("../fonts/reey-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --gp-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --gp-script: "reeyregular", cursive;

    /* Sampled from the G&P Marcos logotype:
       #d57403 (bars) · #06a2cb (arc) · #5b5b5b (arrow) */
    --gp-base: #d57403;
    --gp-base-rgb: 213, 116, 3;
    --gp-base-dark: #b06005;
    --gp-primary: #06a2cb;
    --gp-primary-rgb: 6, 162, 203;
    --gp-black: #122a33;
    --gp-black-rgb: 18, 42, 51;
    --gp-gray: #5f6b70;
    --gp-white: #ffffff;
    --gp-extra: #f4f7f8;
    --gp-bdr: #dde5e8;

    --gp-radius: 10px;
    --gp-radius-sm: 6px;
    --gp-ls: -0.02em;
    --gp-shadow: 0 10px 60px rgba(18, 42, 51, 0.08);
    --gp-shadow-lg: 0 20px 60px rgba(18, 42, 51, 0.14);
    --gp-transition: all 0.4s ease;

    /* Bootstrap overrides */
    --bs-body-font-family: var(--gp-font);
    --bs-body-color: #5f6b70;
    --bs-body-font-size: 16px;
    --bs-body-line-height: 1.75;
    --bs-primary: #d57403;
    --bs-primary-rgb: 213, 116, 3;
    --bs-link-color: #d57403;
    --bs-link-hover-color: #122a33;
    --bs-border-radius: 10px;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: clip;
}

body {
    font-family: var(--gp-font);
    color: var(--gp-gray);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: var(--gp-ls);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gp-black);
    font-weight: 700;
    letter-spacing: var(--gp-ls);
    margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; transition: var(--gp-transition); }
img { max-width: 100%; height: auto; }

::selection {
    background-color: var(--gp-base);
    color: var(--gp-white);
}

:focus-visible {
    outline: 2px solid var(--gp-primary);
    outline-offset: 3px;
}

.row { --bs-gutter-x: 30px; }
.gy-30 { --bs-gutter-y: 30px; }

/* Utility helpers ---------------------------------------------------------- */
.text-base { color: var(--gp-base) !important; }
.text-ink { color: var(--gp-black) !important; }
.bg-extra { background-color: var(--gp-extra) !important; }
.section-pad { padding: 120px 0; }
.section-pad-t { padding-top: 120px; }
.section-pad-b { padding-bottom: 120px; }

@media (max-width: 991.98px) {
    .section-pad { padding: 80px 0; }
    .section-pad-t { padding-top: 80px; }
    .section-pad-b { padding-bottom: 80px; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.gp-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--gp-base);
    color: var(--gp-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--gp-ls);
    border: none;
    border-radius: var(--gp-radius);
    padding: 19px 40px;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.gp-btn::before {
    position: absolute;
    inset: 0;
    content: "";
    background-color: var(--gp-black);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s ease;
    z-index: -1;
}

.gp-btn:hover { color: var(--gp-white); }

.gp-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
}

.gp-btn--dark { background-color: var(--gp-black); }
.gp-btn--dark::before { background-color: var(--gp-base); }

.gp-btn--light {
    background-color: var(--gp-white);
    color: var(--gp-black);
}
.gp-btn--light::before { background-color: var(--gp-base); }
.gp-btn--light:hover { color: var(--gp-white); }

/* Secondary action — reads as a companion to the solid button next to it.
   The ring is drawn with an inset shadow so the padding stays identical. */
.gp-btn--outline {
    background-color: transparent;
    color: var(--gp-black);
    box-shadow: inset 0 0 0 2px var(--gp-bdr);
    transition: color 0.4s ease, box-shadow 0.4s ease;
}

.gp-btn--outline::before { background-color: var(--gp-black); }

.gp-btn--outline:hover {
    color: var(--gp-white);
    box-shadow: inset 0 0 0 2px var(--gp-black);
}

.gp-btn--sm { padding: 14px 30px; font-size: 15px; }
.gp-btn--block { display: block; width: 100%; text-align: center; }

.gp-btn i { margin-right: 9px; font-size: 0.92em; }

/* --------------------------------------------------------------------------
   5. Preloader
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9991;
    display: grid;
    place-items: center;
    background-color: var(--gp-white);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.preloader__spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(213, 116, 3, 0.2);
    border-top-color: var(--gp-base);
    border-radius: 50%;
    animation: gp-spin 0.8s linear infinite;
}

@keyframes gp-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   6. Topbar
   -------------------------------------------------------------------------- */
.topbar {
    background-color: var(--gp-black);
    padding: 8px 0;
    font-size: 15px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.topbar__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.topbar__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.topbar__list li i { color: var(--gp-primary); font-size: 15px; }
.topbar__list li a { color: rgba(255, 255, 255, 0.7); }
.topbar__list li a:hover { color: var(--gp-white); }

.topbar__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.topbar__menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar__menu a { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.topbar__menu a:hover { color: var(--gp-white); }

.topbar__social { display: flex; align-items: center; gap: 18px; }
.topbar__social a { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.topbar__social a:hover { color: var(--gp-primary); }

@media (max-width: 991.98px) {
    .topbar { display: none; }
}

/* --------------------------------------------------------------------------
   7. Navbar
   -------------------------------------------------------------------------- */
.site-header { position: relative; z-index: 99; background-color: var(--gp-white); }

.gp-nav { padding: 20px 0; }

.gp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.gp-nav__logo img { height: 58px; width: auto; }

.gp-nav__list {
    display: flex;
    align-items: center;
    gap: 38px;
}

.gp-nav__list > li > a {
    position: relative;
    display: block;
    color: var(--gp-black);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: var(--gp-ls);
    padding: 8px 0;
}

.gp-nav__list > li > a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gp-base);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s ease;
}

.gp-nav__list > li > a:hover,
.gp-nav__list > li.is-active > a { color: var(--gp-base); }

.gp-nav__list > li > a:hover::after,
.gp-nav__list > li.is-active > a::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.gp-nav__tools {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gp-nav__actions { display: flex; align-items: center; gap: 12px; }

.gp-nav__icon {
    background: none;
    border: none;
    padding: 0;
    color: var(--gp-black);
    font-size: 18px;
    line-height: 1;
    transition: var(--gp-transition);
}
.gp-nav__icon:hover { color: var(--gp-base); }

.gp-nav__call {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gp-nav__call-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--gp-extra);
    color: var(--gp-base);
    font-size: 18px;
    flex-shrink: 0;
}

.gp-nav__call-content a {
    display: block;
    color: var(--gp-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.gp-nav__call-content a:hover { color: var(--gp-base); }
.gp-nav__call-content p { font-size: 14px; line-height: 1.3; }

.gp-nav__toggler {
    background: none;
    border: none;
    color: var(--gp-black);
    font-size: 22px;
    padding: 0;
    display: none;
}

@media (max-width: 1399.98px) {
    .gp-nav__list { gap: 28px; }
}

@media (max-width: 1199.98px) {
    .gp-nav__call { display: none; }
}

@media (max-width: 991.98px) {
    .gp-nav { padding: 18px 0; }
    .gp-nav__list,
    .gp-nav__quote,
    .gp-nav__login { display: none; }
    .gp-nav__toggler { display: block; }
}

/* Sticky header ------------------------------------------------------------ */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--gp-white);
    box-shadow: 0 5px 30px rgba(18, 42, 51, 0.08);
    z-index: 991;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--gp-transition);
    padding: 14px 0;
}

.sticky-header.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Offcanvas mobile nav ----------------------------------------------------- */
.gp-offcanvas { background-color: var(--gp-black); width: 320px; }
.gp-offcanvas .offcanvas-header { padding: 25px; }
.gp-offcanvas__logo img { height: 48px; width: auto; }
.gp-offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}
.gp-offcanvas .offcanvas-body { padding: 0 25px 30px; }

.gp-offcanvas__nav li a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.gp-offcanvas__nav li a:hover { color: var(--gp-primary); }

.gp-offcanvas__actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.gp-offcanvas__actions .gp-btn--outline {
    color: var(--gp-white);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.gp-offcanvas__actions .gp-btn--outline::before { background-color: var(--gp-base); }

.gp-offcanvas__actions .gp-btn--outline:hover {
    box-shadow: inset 0 0 0 2px var(--gp-base);
}

.gp-offcanvas__contact { margin-top: 30px; }
.gp-offcanvas__contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}
.gp-offcanvas__contact li i { color: var(--gp-primary); margin-top: 8px; }
.gp-offcanvas__contact a { color: rgba(255, 255, 255, 0.75); }
.gp-offcanvas__contact a:hover { color: var(--gp-primary); }

.gp-offcanvas__social { display: flex; gap: 12px; margin-top: 25px; }
.gp-offcanvas__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gp-white);
}
.gp-offcanvas__social a:hover { background-color: var(--gp-base); }

/* Search modal ------------------------------------------------------------- */
.search-modal .modal-content { background: transparent; border: none; }
.search-modal .modal-dialog { max-width: 640px; margin-top: 18vh; }

.search-modal form {
    display: flex;
    background-color: var(--gp-white);
    border-radius: var(--gp-radius);
    overflow: hidden;
}

.search-modal input {
    flex: 1;
    border: none;
    outline: none;
    height: 62px;
    padding: 0 25px;
    font-size: 16px;
    color: var(--gp-black);
}

.search-modal button {
    border: none;
    width: 62px;
    background-color: var(--gp-base);
    color: var(--gp-white);
    font-size: 18px;
}
.search-modal button:hover { background-color: var(--gp-black); }

/* --------------------------------------------------------------------------
   8. Section title
   -------------------------------------------------------------------------- */
.section-title { margin-bottom: 50px; }

.section-title__tagline {
    position: relative;
    display: inline-block;
    font-family: var(--gp-script);
    font-size: 26px;
    line-height: 1;
    color: var(--gp-base);
    padding: 0 42px;
    margin-bottom: 6px;
}

/* Slanted tick marks, drawn in the current colour so the mark always
   matches whatever colour the tagline is using. */
.section-title__tagline::before,
.section-title__tagline::after {
    position: absolute;
    content: "";
    top: 50%;
    width: 28px;
    height: 9px;
    transform: translateY(-50%);
    background-image: repeating-linear-gradient(115deg,
        currentColor 0 3px, transparent 3px 9px);
}

.section-title__tagline::before { left: 4px; }
.section-title__tagline::after { right: 4px; }

.section-title__title {
    font-size: 50px;
    line-height: 1.2;
    margin-top: 8px;
}

.section-title--light .section-title__title { color: var(--gp-white); }
.section-title--light .section-title__tagline { color: var(--gp-primary); }

.section-title--start .section-title__tagline { padding-right: 0; }
.section-title--start .section-title__tagline::after { display: none; }

@media (max-width: 767.98px) {
    .section-title__title { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   9. Hero slider
   -------------------------------------------------------------------------- */
.hero { position: relative; z-index: 1; }

.hero__slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 800px;
    padding: 160px 0 260px;
    z-index: 1;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
    z-index: -2;
}

.hero__slide.swiper-slide-active .hero__bg { transform: scale(1.12); }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(11, 29, 35, 0.86) 0%,
        rgba(11, 29, 35, 0.66) 50%,
        rgba(11, 29, 35, 0.42) 100%);
    z-index: -1;
}

/* A fotografia de cada slide, encostada a direita.
   ---------------------------------------------------------------------------
   Nao e o fundo do slide: o fundo continua a ser o gradiente da marca, e a
   fotografia entra POR CIMA dele, esbatida, so na metade direita. Tres coisas
   fazem-na pertencer ao banner em vez de ficar la colada:

     opacity          deixa o gradiente ver-se atraves dela;
     mix-blend-mode   `luminosity` fica so com a luz da fotografia e toma a COR
                      do gradiente por baixo -- por isso cada slide tinge a sua
                      de forma diferente, sem se tocar na imagem;
     mask-image       desvanece-a para a esquerda, para nao haver uma aresta
                      vertical a cortar o banner ao meio.

   Vem depois do .hero__overlay no HTML de proposito: com o mesmo z-index, a
   ordem no documento e que decide quem fica por cima. */
.hero__foto {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.42;
    mix-blend-mode: luminosity;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 66%);
            mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 26%, #000 66%);
    z-index: -1;
    pointer-events: none;
}

/* Em ecra estreito o texto ocupa a largura toda e a fotografia so lhe ficaria
   por tras, a atrapalhar a leitura. */
@media (max-width: 991px) {
    .hero__foto { display: none; }
}

.hero__shape {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 45%;
    filter: brightness(0) invert(1);
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
}

.hero__content { max-width: 640px; }

.hero__title {
    color: var(--gp-white);
    font-size: 70px;
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    line-height: 1.78;
    margin-bottom: 40px;
}

/* Entrance animation driven by Swiper's active class */
.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .hero__btn {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__slide.swiper-slide-active .hero__title,
.hero__slide.swiper-slide-active .hero__text,
.hero__slide.swiper-slide-active .hero__btn {
    opacity: 1;
    transform: translateY(0);
}

.hero__slide.swiper-slide-active .hero__title { transition-delay: 0.3s; }
.hero__slide.swiper-slide-active .hero__text { transition-delay: 0.5s; }
.hero__slide.swiper-slide-active .hero__btn { transition-delay: 0.7s; }

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: var(--gp-white);
    font-size: 16px;
    transition: var(--gp-transition);
}

.hero__nav:hover {
    background-color: var(--gp-base);
    border-color: var(--gp-base);
}

.hero__nav--prev { left: 40px; }
.hero__nav--next { right: 40px; }

.hero__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 215px !important;
    z-index: 10;
    text-align: center;
}

.hero__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--gp-white);
    opacity: 0.4;
    margin: 0 6px !important;
    transition: var(--gp-transition);
}

.hero__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--gp-primary);
    width: 34px;
    border-radius: 6px;
}

/* The arrows only clear the container once the viewport is wide enough;
   below that the pagination bullets are the slider control. */
@media (max-width: 1279.98px) {
    .hero__nav { display: none; }
}

/* Entre 1280 e 1600 a margem livre fora do contentor e curta (60px a 1440,
   70px a 1280): uma seta de 60px a 40px da borda nao la cabia. Encolhida e
   encostada, passa ao lado do texto em vez de desaparecer. */
@media (min-width: 1280px) and (max-width: 1599.98px) {
    .hero__nav { width: 48px; height: 48px; }
    .hero__nav--prev { left: 10px; }
    .hero__nav--next { right: 10px; }
}

@media (max-width: 1199.98px) {
    .hero__title { font-size: 54px; }
}

@media (max-width: 767.98px) {
    .hero__slide { min-height: 620px; padding: 120px 0 210px; }
    .hero__title { font-size: 36px; }
    .hero__text { font-size: 16px; margin-bottom: 30px; }
    .hero__pagination { bottom: 165px !important; }
}

/* --------------------------------------------------------------------------
   10. Feature cards (overlapping the hero)
   -------------------------------------------------------------------------- */
.features {
    position: relative;
    margin-top: -155px;
    z-index: 5;
    padding-bottom: 120px;
}

.feature-card {
    position: relative;
    height: 100%;
    background-color: var(--gp-white);
    border-radius: var(--gp-radius);
    box-shadow: var(--gp-shadow);
    padding: 45px 40px 42px;
    overflow: hidden;
    z-index: 1;
    transition: var(--gp-transition);
}

.feature-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background-color: var(--gp-base);
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.5s ease;
    z-index: -1;
}

.feature-card:hover::before {
    transform: scaleY(1);
    transform-origin: top center;
}

.feature-card__shape {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card:hover .feature-card__shape { opacity: 0.35; }

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: rgba(213, 116, 3, 0.08);
    color: var(--gp-base);
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--gp-transition);
}

.feature-card:hover .feature-card__icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--gp-white);
}

.feature-card__title { font-size: 24px; margin-bottom: 12px; transition: var(--gp-transition); }
.feature-card__text { transition: var(--gp-transition); }

.feature-card:hover .feature-card__title { color: var(--gp-white); }
.feature-card:hover .feature-card__text { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 991.98px) {
    .features { margin-top: -145px; padding-bottom: 80px; }
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about { position: relative; padding-bottom: 120px; }

.about__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    mix-blend-mode: luminosity;
    opacity: 0.05;
    z-index: -1;
}

.about__images {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 40px;
}

.about__img-main img,
.about__img-alt img {
    border-radius: var(--gp-radius);
    width: 100%;
}

.about__img-alt { margin-top: 60px; }

.about__experience {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background-color: var(--gp-base);
    color: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 22px 30px;
    text-align: center;
    box-shadow: var(--gp-shadow-lg);
    min-width: 190px;
}

.about__experience h3 {
    color: var(--gp-white);
    font-size: 44px;
    line-height: 1;
}

.about__experience p { font-size: 15px; line-height: 1.4; margin-top: 6px; }

.about__lead {
    color: var(--gp-black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about__list { margin-bottom: 10px; }

.about__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--gp-black);
    font-weight: 500;
    margin-bottom: 12px;
}

.about__list li i { color: var(--gp-base); font-size: 15px; margin-top: 8px; }

.about__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

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

.about__call-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--gp-extra);
    color: var(--gp-base);
    font-size: 20px;
    flex-shrink: 0;
}

.about__call-content a {
    display: block;
    color: var(--gp-black);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.about__call-content a:hover { color: var(--gp-base); }
.about__call-content p { font-size: 14px; line-height: 1.3; }

@media (max-width: 991.98px) {
    .about { padding-bottom: 80px; }
    .about__bg { display: none; }
    .about__content { margin-top: 50px; }
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.services { background-color: var(--gp-extra); }

.service-card {
    position: relative;
    height: 100%;
    background-color: var(--gp-white);
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius);
    padding: 38px 32px 34px;
    overflow: hidden;
    z-index: 1;
    transition: var(--gp-transition);
}

/* Thin brand rule that grows along the top edge on hover */
.service-card::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background-color: var(--gp-base);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s ease;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--gp-shadow-lg);
    transform: translateY(-6px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: var(--gp-radius);
    background-color: rgba(213, 116, 3, 0.09);
    color: var(--gp-base);
    font-size: 27px;
    margin-bottom: 24px;
    transition: var(--gp-transition);
}

.service-card:hover .service-card__icon {
    background-color: var(--gp-base);
    color: var(--gp-white);
}

.service-card__title { font-size: 21px; margin-bottom: 10px; }
.service-card__title a { color: inherit; }
.service-card__title a:hover { color: var(--gp-base); }

.service-card__text { font-size: 15.5px; }

/* --------------------------------------------------------------------------
   12b. Documentos para descarregar (artigos.html)
   --------------------------------------------------------------------------
   Reaproveita o .service-card -- moldura, cantos, a regra laranja que cresce
   no topo ao passar o rato -- e acrescenta so o que falta: a linha de dados
   do ficheiro e o botao encostado ao fundo, para que cartoes com descricoes
   de tamanhos diferentes acabem todos alinhados.
   -------------------------------------------------------------------------- */
.artigo-card {
    display: flex;
    flex-direction: column;
}

.artigo-card__text { margin-bottom: 18px; }

.artigo-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    color: var(--gp-gray);
}

.artigo-card__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.artigo-card__meta i { color: var(--gp-base); }

/* `margin-top: auto` e o que encosta o botao ao fundo do cartao. */
.artigo-card__acao {
    margin-top: auto;
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   13. Why choose
   -------------------------------------------------------------------------- */
.why { position: relative; overflow: hidden; z-index: 1; }

.why__shape {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
}

.why__img { position: relative; text-align: center; }

/* A imagem desta coluna foi desenhada quase quadrada (a do template era
   938x971), e o texto ao lado e alto. Uma fotografia larga entrava aqui com
   metade da altura e deixava a coluna com ar a sobrar em ecra grande, por isso
   fixa-se a FORMA e corta-se o que sobra, em vez de deixar a altura encolher.
   O `aspect-ratio` faz isso em qualquer largura, sem numero magico nenhum. */
.why__img img {
    width: 100%;
    aspect-ratio: 938 / 971;
    object-fit: cover;
}

.why-box {
    position: relative;
    height: 100%;
    background-color: var(--gp-white);
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius);
    padding: 35px 30px;
    transition: var(--gp-transition);
}

.why-box:hover {
    border-color: transparent;
    box-shadow: var(--gp-shadow);
    transform: translateY(-6px);
}

.why-box__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: var(--gp-radius);
    background-color: rgba(213, 116, 3, 0.08);
    color: var(--gp-base);
    font-size: 26px;
    margin-bottom: 22px;
    transition: var(--gp-transition);
}

.why-box:hover .why-box__icon {
    background-color: var(--gp-base);
    color: var(--gp-white);
}

.why-box__title { font-size: 20px; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   14. Quote form + counters
   -------------------------------------------------------------------------- */
.quote {
    position: relative;
    background-color: var(--gp-white);
    z-index: 1;
}

/* Soft left-to-right wash, matching the original section treatment */
.quote::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, #f4f7f8 0%, rgba(244, 247, 248, 0) 100%);
    z-index: -1;
}

.quote__img { position: relative; }

.quote__card {
    background-color: var(--gp-white);
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius);
    padding: 45px 45px 50px;
    box-shadow: var(--gp-shadow-lg);
}

.quote__tagline {
    font-family: var(--gp-script);
    font-size: 24px;
    color: var(--gp-base);
    line-height: 1;
}

.quote__title { font-size: 34px; line-height: 1.25; margin: 10px 0 28px; }

.quote__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    margin-bottom: 30px;
}

.quote__tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    padding: 16px 12px;
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius);
    background-color: transparent;
    color: var(--gp-black);
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
    transition: var(--gp-transition);
}

.quote__tabs .nav-link i { font-size: 24px; color: var(--gp-base); transition: var(--gp-transition); }

.quote__tabs .nav-link:hover,
.quote__tabs .nav-link:focus-visible,
.quote__tabs .nav-link.active {
    background-color: var(--gp-base);
    border-color: var(--gp-base);
    color: var(--gp-white);
}

.quote__tabs .nav-link:hover i,
.quote__tabs .nav-link:focus-visible i,
.quote__tabs .nav-link.active i { color: var(--gp-white); }

.quote__form .form-control,
.quote__form .form-select {
    height: 58px;
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius);
    padding: 0 22px;
    font-size: 16px;
    color: var(--gp-black);
    box-shadow: none;
}

.quote__form .form-control::placeholder { color: var(--gp-gray); }

.quote__form .form-control:focus,
.quote__form .form-select:focus {
    border-color: var(--gp-base);
    box-shadow: 0 0 0 3px rgba(213, 116, 3, 0.12);
}

.quote__range-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gp-black);
    font-weight: 700;
    margin-bottom: 8px;
}

.quote__range-value { color: var(--gp-base); }

.quote__range {
    width: 100%;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--gp-bdr);
    background-image: linear-gradient(var(--gp-base), var(--gp-base));
    background-repeat: no-repeat;
    background-size: 78% 100%;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.quote__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--gp-white);
    border: 5px solid var(--gp-base);
    box-shadow: 0 2px 8px rgba(18, 42, 51, 0.25);
    cursor: pointer;
}

.quote__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--gp-white);
    border: 5px solid var(--gp-base);
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .quote__card { padding: 32px 25px 38px; }
    .quote__title { font-size: 27px; }
}

.counters {
    position: relative;
    background-color: var(--gp-base);
    padding: 55px 0;
    overflow: hidden;
}

.counters__shape {
    position: absolute;
    top: 0;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.16;
    pointer-events: none;
}

.counters__shape--left { left: 0; }
.counters__shape--right { right: 0; }

.counter-box { position: relative; text-align: center; z-index: 1; }

.counter-box__number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--gp-white);
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.counter-box__suffix { font-size: 34px; }

.counter-box__label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-top: 10px;
}

@media (max-width: 767.98px) {
    .counter-box__number { font-size: 38px; }
}

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */
.team { position: relative; overflow: hidden; z-index: 1; }

.team__shape { position: absolute; left: 0; bottom: 0; opacity: 0.5; filter: grayscale(1); pointer-events: none; z-index: -1; }

.team-card { position: relative; text-align: center; }

.team-card__img { position: relative; border-radius: var(--gp-radius); overflow: hidden; }

/* O perfil de quem dirige a empresa, dentro do cartao "Sem compromisso" --
   no lugar onde estavam os formularios da proposta. A fotografia do Gabriel
   ja estava a esquerda desta mesma seccao. */
.perfil__nome { font-size: 26px; margin: 8px 0 18px; }

.perfil__texto .about__actions { margin-top: 26px; }

.team-card__img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-card__img img { transform: scale(1.06); }

.team-card__social {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 14px;
    background-color: var(--gp-white);
    border-radius: 40px;
    padding: 10px 20px;
    box-shadow: var(--gp-shadow);
    opacity: 0;
    transition: var(--gp-transition);
}

.team-card:hover .team-card__social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-card__social a { color: var(--gp-black); font-size: 15px; }
.team-card__social a:hover { color: var(--gp-base); }

.team-card__body { padding-top: 25px; }

.team-card__role {
    display: block;
    color: var(--gp-base);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.team-card__name { font-size: 22px; }
.team-card__name a { color: inherit; }
.team-card__name a:hover { color: var(--gp-base); }

.team__cta {
    margin-top: 55px;
    text-align: center;
    color: var(--gp-black);
    font-size: 20px;
    font-weight: 500;
}

.team__cta a { color: var(--gp-base); font-weight: 700; text-decoration: underline; }
.team__cta a:hover { color: var(--gp-black); }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq { background-color: var(--gp-extra); }

.faq__accordion .accordion-item {
    background-color: var(--gp-white);
    border: 1px solid var(--gp-bdr);
    border-radius: var(--gp-radius) !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq__accordion .accordion-button {
    background-color: var(--gp-white);
    color: var(--gp-black);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: var(--gp-ls);
    padding: 22px 26px;
    box-shadow: none;
}

.faq__accordion .accordion-button:not(.collapsed) {
    background-color: var(--gp-white);
    color: var(--gp-base);
}

.faq__accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(213, 116, 3, 0.15);
}

.faq__accordion .accordion-button::after {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background-image: none;
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(213, 116, 3, 0.09);
    color: var(--gp-base);
    transition: var(--gp-transition);
}

.faq__accordion .accordion-button:not(.collapsed)::after {
    content: "\f068";
    transform: none;
    background-color: var(--gp-base);
    color: var(--gp-white);
}

.faq__accordion .accordion-body {
    padding: 0 26px 24px;
    color: var(--gp-gray);
}

.faq__aside {
    background-color: var(--gp-black);
    border-radius: var(--gp-radius);
    padding: 40px 36px;
    color: rgba(255, 255, 255, 0.72);
}

.faq__aside h3 { color: var(--gp-white); font-size: 24px; margin-bottom: 14px; }
.faq__aside p { margin-bottom: 26px; }

.faq__aside-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 26px;
}

.faq__aside-contact i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gp-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.faq__aside-contact a {
    display: block;
    color: var(--gp-white);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.faq__aside-contact a:hover { color: var(--gp-primary); }
.faq__aside-contact span { font-size: 14px; }

@media (max-width: 991.98px) {
    .faq__aside { margin-top: 40px; }
}

/* --------------------------------------------------------------------------
   17. News
   -------------------------------------------------------------------------- */
.news-card {
    height: 100%;
    background-color: var(--gp-white);
    border-radius: var(--gp-radius);
    box-shadow: 0 5px 30px rgba(18, 42, 51, 0.06);
    overflow: hidden;
    transition: var(--gp-transition);
}

.news-card:hover { transform: translateY(-8px); box-shadow: var(--gp-shadow-lg); }

.news-card__img { position: relative; overflow: hidden; }

.news-card__img img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card__img img { transform: scale(1.08); }

.news-card__tag {
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--gp-base);
    color: var(--gp-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--gp-radius-sm);
    padding: 7px 16px;
}

.news-card__body { padding: 26px 30px 32px; }

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gp-bdr);
    font-size: 15px;
}

.news-card__meta li { display: flex; align-items: center; gap: 8px; }
.news-card__meta i { color: var(--gp-base); font-size: 14px; }

.news-card__title { font-size: 22px; line-height: 1.4; margin-bottom: 12px; }
.news-card__title a { color: inherit; }
.news-card__title a:hover { color: var(--gp-base); }

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--gp-black);
    font-size: 15px;
    font-weight: 700;
}

.news-card__more:hover { color: var(--gp-base); gap: 16px; }

/* --------------------------------------------------------------------------
   18. Tracking CTA
   -------------------------------------------------------------------------- */
.tracking {
    position: relative;
    background-color: var(--gp-base);
    padding: 70px 0;
    overflow: hidden;
    z-index: 1;
}

.tracking__shape { position: absolute; pointer-events: none; filter: brightness(0) invert(1); opacity: 0.14; z-index: -1; }
.tracking__shape--1 { left: 0; top: 0; }
.tracking__shape--2 { right: 0; bottom: 0; }

.tracking__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.tracking__tagline {
    font-family: var(--gp-script);
    font-size: 24px;
    color: var(--gp-white);
    line-height: 1;
}

.tracking__title {
    color: var(--gp-white);
    font-size: 42px;
    line-height: 1.2;
    margin-top: 10px;
}

@media (max-width: 767.98px) {
    .tracking__title { font-size: 30px; }
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    background-color: var(--gp-black);
    z-index: 1;
}

.footer__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.07;
    z-index: -1;
}

.footer__top { padding: 100px 0 90px; }

.footer__logo { margin-bottom: 25px; }
.footer__logo img { height: 62px; width: auto; }

.footer__text { color: rgba(255, 255, 255, 0.65); margin-bottom: 25px; }

.footer__social { display: flex; gap: 12px; }

.footer__social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gp-white);
    font-size: 15px;
}

.footer__social a:hover { background-color: var(--gp-base); transform: translateY(-3px); }

.footer__title { color: var(--gp-white); font-size: 22px; margin-bottom: 28px; }

.footer__contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.footer__contact i { color: var(--gp-primary); margin-top: 9px; }
.footer__contact a { color: rgba(255, 255, 255, 0.65); }
.footer__contact a:hover { color: var(--gp-primary); }

.footer__hours { margin-top: 30px; }
.footer__hours h5 { color: var(--gp-white); font-size: 18px; margin-bottom: 8px; }
.footer__hours p { color: rgba(255, 255, 255, 0.65); }

.footer__links li { margin-bottom: 10px; }

.footer__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
}

.footer__links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: var(--gp-primary);
}

.footer__links a:hover { color: var(--gp-white); gap: 14px; }

.footer__newsletter-text { color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }

.footer__newsletter-form { position: relative; }

.footer__newsletter-form input {
    width: 100%;
    height: 58px;
    border: none;
    outline: none;
    border-radius: var(--gp-radius);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gp-white);
    padding: 0 62px 0 22px;
}

.footer__newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.footer__newsletter-form button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: var(--gp-radius-sm);
    background-color: var(--gp-base);
    color: var(--gp-white);
}

.footer__newsletter-form button:hover { background-color: var(--gp-primary); color: var(--gp-black); }

.footer__phone { display: flex; align-items: center; gap: 15px; margin-top: 35px; }

.footer__phone-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--gp-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.footer__phone-content a {
    display: block;
    color: var(--gp-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.footer__phone-content a:hover { color: var(--gp-primary); }
.footer__phone-content p { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.3; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p { color: rgba(255, 255, 255, 0.6); }
.footer__bottom a { color: var(--gp-primary); }
.footer__bottom a:hover { color: var(--gp-white); }

@media (max-width: 991.98px) {
    .footer__top { padding: 70px 0 60px; }
}

/* --------------------------------------------------------------------------
   20. Inner pages — page header
   -------------------------------------------------------------------------- */
.page-header {
    position: relative;
    padding: 140px 0;
    z-index: 1;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(115deg, #0b1d23 0%, #143741 58%, #10505f 100%);
    z-index: -2;
}

.page-header__shape {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 40%;
    filter: brightness(0) invert(1);
    opacity: 0.07;
    pointer-events: none;
    z-index: -1;
}

.page-header__title {
    color: var(--gp-white);
    font-size: 50px;
    line-height: 1.15;
}

.breadcrumb-gp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.breadcrumb-gp li,
.breadcrumb-gp a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb-gp a:hover { color: var(--gp-primary); }
.breadcrumb-gp .is-current { color: var(--gp-white); }
.breadcrumb-gp .sep { color: rgba(255, 255, 255, 0.35); }

@media (max-width: 767.98px) {
    .page-header { padding: 90px 0; }
    .page-header__title { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   21. Blog listing + article
   -------------------------------------------------------------------------- */
.detail__img {
    border-radius: var(--gp-radius);
    overflow: hidden;
    margin-bottom: 55px;
}

.detail__img img { width: 100%; display: block; }

.detail__title { font-size: 38px; line-height: 1.2; margin-bottom: 18px; }

.detail__lead {
    color: var(--gp-black);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 22px;
}

.detail__body p + p { margin-top: 18px; }

.detail__subtitle { font-size: 24px; margin: 36px 0 16px; }

.detail__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--gp-black);
    font-weight: 500;
    margin-bottom: 12px;
}

.detail__list i { color: var(--gp-base); font-size: 15px; margin-top: 8px; }

.detail__aside {
    background-color: var(--gp-extra);
    border-radius: var(--gp-radius);
    padding: 34px 32px;
}

.detail__meta li {
    padding: 15px 0;
    border-bottom: 1px solid var(--gp-bdr);
}

.detail__meta li:first-child { padding-top: 0; }
.detail__meta li:last-child { border-bottom: none; padding-bottom: 0; }

.detail__meta-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gp-gray);
}

.detail__meta-value { font-size: 18px; margin-top: 3px; }

.detail__share { display: flex; gap: 10px; }

.detail__share a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gp-white);
    color: var(--gp-black);
    box-shadow: inset 0 0 0 1px var(--gp-bdr);
    font-size: 14px;
}

.detail__share a:hover {
    background-color: var(--gp-base);
    color: var(--gp-white);
    box-shadow: none;
}

/* Previous / next post */
.detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 60px;
    padding-top: 34px;
    border-top: 1px solid var(--gp-bdr);
}

/* Cada lado ocupa metade da linha, para que títulos longos quebrem dentro
   do seu bloco em vez de empurrarem o link seguinte para baixo. */
.detail-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 1 calc(50% - 12px);
    color: var(--gp-black);
}

.detail-nav a:hover { color: var(--gp-base); }
.detail-nav span { display: block; font-size: 14px; color: var(--gp-gray); }
.detail-nav strong { font-size: 18px; }

.detail-nav i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--gp-extra);
    color: var(--gp-base);
    font-size: 15px;
    flex-shrink: 0;
    transition: var(--gp-transition);
}

.detail-nav a:hover i {
    background-color: var(--gp-base);
    color: var(--gp-white);
}

.detail-nav .is-next {
    justify-content: flex-end;
    text-align: right;
}

@media (max-width: 991.98px) {
    .detail__aside { margin-top: 45px; }
}

@media (max-width: 767.98px) {
    .detail__title { font-size: 28px; }
    .detail-nav { gap: 18px; }
    .detail-nav strong { font-size: 16px; }
}

@media (max-width: 575.98px) {
    .detail-nav { flex-direction: column; align-items: stretch; }
    .detail-nav a { flex: 1 1 auto; }
    .detail-nav .is-next { justify-content: flex-start; text-align: left; }
}

/* Listagem — paginação */
.pagination-gp {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 60px;
}

.pagination-gp a {
    display: grid;
    place-items: center;
    min-width: 50px;
    height: 50px;
    padding: 0 16px;
    border-radius: var(--gp-radius);
    background-color: var(--gp-white);
    color: var(--gp-black);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--gp-bdr);
}

.pagination-gp a:hover,
.pagination-gp .is-current a {
    background-color: var(--gp-base);
    color: var(--gp-white);
    box-shadow: none;
}

.pagination-gp .is-disabled a {
    opacity: 0.45;
    pointer-events: none;
}

/* Artigo — linha de metadados sob o título */
.post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding-bottom: 20px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--gp-bdr);
    font-size: 15px;
}

.post__meta li { display: flex; align-items: center; gap: 9px; }
.post__meta i { color: var(--gp-base); font-size: 14px; }

/* Artigo — citação destacada */
.post__quote {
    position: relative;
    background-color: var(--gp-extra);
    border-left: 4px solid var(--gp-base);
    border-radius: 0 var(--gp-radius) var(--gp-radius) 0;
    padding: 32px 36px;
    margin: 34px 0;
}

.post__quote p {
    color: var(--gp-black);
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
}

.post__quote cite {
    display: block;
    margin-top: 14px;
    color: var(--gp-gray);
    font-size: 15px;
    font-style: normal;
}

/* Artigo — etiquetas */
.post__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gp-bdr);
}

.post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.post__tags span {
    color: var(--gp-black);
    font-weight: 700;
    margin-right: 4px;
}

.post__tags a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--gp-radius-sm);
    background-color: var(--gp-extra);
    color: var(--gp-gray);
    font-size: 14px;
    font-weight: 500;
}

.post__tags a:hover { background-color: var(--gp-base); color: var(--gp-white); }

/* Artigo — cartão do autor na barra lateral */
.post__author {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--gp-bdr);
}

.post__author img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}

.post__author h4 { font-size: 19px; }
.post__author span { display: block; color: var(--gp-base); font-size: 14px; font-weight: 500; }
.post__author p { font-size: 15px; margin-top: 10px; }

/* Artigo — lista de artigos recentes na barra lateral */
.post__recent li { padding: 14px 0; border-bottom: 1px solid var(--gp-bdr); }
.post__recent li:last-child { border-bottom: none; padding-bottom: 0; }

.post__recent a { display: block; color: var(--gp-black); font-weight: 700; line-height: 1.45; }
.post__recent a:hover { color: var(--gp-base); }
.post__recent time { display: block; color: var(--gp-gray); font-size: 14px; font-weight: 400; margin-top: 4px; }

@media (max-width: 767.98px) {
    .post__quote { padding: 24px 24px; }
    .post__quote p { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   22. Scroll to top
   -------------------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background-color: var(--gp-base);
    color: var(--gp-white);
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(213, 116, 3, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--gp-transition);
    z-index: 90;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover { background-color: var(--gp-black); }

/* --------------------------------------------------------------------------
   23. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__bg { transform: none !important; }
}
