@font-face
{
  font-family: Comictastic;
  src: url('assets/font/Comictastic.otf') format('opentype');
  font-display: swap;
}

:root
{
  --teal: #70bfc8;
  --pink: #d3004f;
  --yellow: #f7b215;
  --ink: #17343b;
  --paper: #fffaf2;
  --cream: #f7efdf;
  --sans: Arial,Helvetica,sans-serif;
  --display: Comictastic,'Trebuchet MS',sans-serif;
  --serif: Georgia,'Times New Roman',serif;
  --max: 1200px;
}

*
{
  box-sizing: border-box;
}

html
{
  scroll-behavior: smooth;
}

body
{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img
{
  display: block;
  max-width: 100%;
}

a
{
  color: inherit;
}

.color-bar
{
  height: 7px;
  background: linear-gradient(90deg,var(--teal) 0 33.3%,var(--pink) 33.3% 66.6%,var(--yellow) 66.6%);
}

.wrap
{
  width: min(var(--max),calc(100% - 64px));
  margin: auto;
}

.site-header
{
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid #17343b18;
}

.brand
{
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
}

.brand-logo
{
  display: block;
  width: 116px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo
{
  transform: translateY(-3px) rotate(-2deg) scale(1.06);
  filter: drop-shadow(0 4px 3px rgb(23 52 59 / 18%));
}

.brand-mark
{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: white;
  font: 19px var(--display);
  box-shadow: inset 0 -4px #259eaa;
}

.brand-name
{
  font: 18px var(--display);
  line-height: .98;
}

.brand-name small
{
  display: block;
  font: 9px var(--sans);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 5px;
}

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

.nav a
{
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #38585f;
  transition: color .25s ease, transform .3s cubic-bezier(.2,.75,.25,1);
}

.nav a::before,
.nav a::after
{
  position: absolute;
  content: "";
  pointer-events: none;
}

.nav a::before
{
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #e7f4f2, #fff1f5);
  opacity: 0;
  transform: scale(.82);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.75,.25,1);
}

.nav a::after
{
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.75,.25,1);
}

.nav a:hover,
.nav a:focus-visible
{
  color: var(--pink);
  transform: translateY(-2px);
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a[aria-current=page]::before
{
  opacity: 1;
  transform: scale(1);
}

.nav a:hover::after,
.nav a[aria-current=page]::after
{
  transform: scaleX(1);
}

.nav a[aria-current=page]
{
  color: var(--pink);
}

.nav-toggle
{
  display: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 25px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s,color .2s;
}

.nav-toggle:hover
{
  background: #e7f4f2;
  color: var(--pink);
}

main
{
  overflow: hidden;
}

.kicker
{
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 800;
  color: #47747c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker:before
{
  content: "";
  width: 24px;
  height: 2px;
  background: var(--yellow);
}

.home-hero
{
  padding: 66px 0 26px;
  text-align: center;
}

.home-hero .kicker
{
  justify-content: center;
}

.home-hero .kicker:before
{
  display: none;
}

.home-hero h1
{
  font: clamp(52px,8vw,104px)/.96 var(--serif);
  font-weight: 400;
  letter-spacing: -.065em;
  max-width: 970px;
  margin: 23px auto 16px;
}

.home-hero p
{
  max-width: 590px;
  margin: 0 auto;
  color: #60777a;
  font-size: 15px;
  line-height: 1.75;
}

.home-photos
{
  display: grid;
  grid-template-columns: 1.13fr .8fr 1.13fr;
  align-items: end;
  gap: 15px;
  padding: 42px 0 68px;
}

.home-photo
{
  position: relative;
  overflow: hidden;
  background: #eadfcb;
}

.home-photo img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.home-photo:hover img
{
  transform: scale(1.035);
}

.home-photo:first-child
{
  height: 285px;
  border-radius: 80px 8px 8px 8px;
}

.home-photo:nth-child(2)
{
  height: 355px;
  border-radius: 8px;
}

.home-photo:nth-child(3)
{
  height: 285px;
  border-radius: 8px 8px 80px 8px;
}

.photo-caption
{
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

.home-intro
{
  border-top: 1px solid #17343b20;
  padding: 46px 0 82px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
  align-items: start;
}

.home-intro h2
{
  font: 38px/1.06 var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  margin: 0;
}

.home-intro p
{
  font-size: 14px;
  line-height: 1.8;
  color: #60777a;
  margin: 0;
  max-width: 620px;
}

.page-links
{
  background: var(--cream);
  padding: 62px 0;
}

.page-links-head
{
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.page-links h2
{
  font: 36px var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  margin: 13px 0 0;
}

.page-link-list
{
  border-top: 1px solid #17343b30;
}

.page-link
{
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  text-decoration: none;
  padding: 20px 5px;
  border-bottom: 1px solid #17343b30;
  gap: 20px;
  transition: padding .2s,color .2s;
}

.page-link:hover
{
  padding-left: 14px;
  color: var(--pink);
}

.page-link .num
{
  font: 21px var(--display);
  color: var(--teal);
}

.page-link strong
{
  font: 24px var(--serif);
  font-weight: 400;
}

.page-link .arrow
{
  font-size: 20px;
}

.page-hero
{
  padding: 72px 0 46px;
}

.page-hero h1
{
  font: clamp(50px,8vw,96px)/.96 var(--serif);
  font-weight: 400;
  letter-spacing: -.065em;
  max-width: 850px;
  margin: 22px 0;
}

.page-hero p
{
  max-width: 590px;
  color: #60777a;
  font-size: 15px;
  line-height: 1.75;
}

.feature-photo
{
  width: 100%;
  height: min(62vw,590px);
  min-height: 300px;
  object-fit: cover;
  border-radius: 8px 110px 8px 8px;
}

.content-section
{
  padding: 74px 0;
}

.content-section h2
{
  font: clamp(36px,5vw,58px)/1 var(--serif);
  font-weight: 400;
  letter-spacing: -.05em;
  margin: 15px 0 22px;
}

.content-section p
{
  color: #60777a;
  line-height: 1.8;
  font-size: 14px;
}

.two-col
{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.two-col img
{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px 80px 8px 8px;
}

.text-col
{
  max-width: 580px;
}

.feature-list
{
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.feature-list li
{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list .icon
{
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #e2f3f2;
  display: grid;
  place-items: center;
  color: #258e99;
}

.feature-list strong
{
  display: block;
  font-size: 13px;
  margin: 2px 0 4px;
}

.feature-list span
{
  font-size: 12px;
  line-height: 1.6;
  color: #718487;
}

.gallery-grid
{
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 68px;
  gap: 14px;
  padding: 8px 0 78px;
}

.gallery-item
{
  position: relative;
  overflow: hidden;
  background: #eee;
}

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

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

.gallery-item:nth-child(1)
{
  grid-column: span 7;
  grid-row: span 6;
  border-radius: 75px 8px 8px;
}

.gallery-item:nth-child(2)
{
  grid-column: span 5;
  grid-row: span 4;
  border-radius: 8px;
}

.gallery-item:nth-child(3)
{
  grid-column: span 5;
  grid-row: span 4;
  border-radius: 8px 8px 65px;
}

.gallery-item:nth-child(4)
{
  grid-column: span 7;
  grid-row: span 5;
  border-radius: 8px;
}

.gallery-item:nth-child(5)
{
  grid-column: span 5;
  grid-row: span 5;
  border-radius: 8px;
}

.gallery-item:nth-child(6)
{
  grid-column: span 6;
  grid-row: span 5;
  border-radius: 8px 8px 8px 70px;
}

.gallery-item:nth-child(7)
{
  grid-column: span 6;
  grid-row: span 5;
  border-radius: 8px;
}

.gallery-item figcaption
{
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fffaf2ed;
  padding: 8px 12px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
}

.steps
{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  padding: 8px 0 72px;
}

.step
{
  background: #fff;
  padding: 28px 25px;
  min-height: 220px;
}

.step .num
{
  font: 43px var(--display);
  color: var(--teal);
}

.step:nth-child(2) .num
{
  color: var(--pink);
}

.step:nth-child(3) .num
{
  color: #d99500;
}

.step h2
{
  font: 25px var(--serif);
  font-weight: 400;
  margin: 15px 0 9px;
}

.step p
{
  font-size: 13px;
  line-height: 1.7;
  color: #718487;
  margin: 0;
}

.note-band
{
  background: var(--teal);
  color: #fff;
  padding: 34px;
  border-radius: 5px 70px 5px 5px;
  margin: 0 0 75px;
}

.note-band p
{
  font: 25px/1.3 var(--serif);
  margin: 0;
  max-width: 720px;
  color: #fff;
}

.site-footer
{
  background: #12353c;
  color: #dcebed;
  padding: 20px 0;
}

.footer-inner
{
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(240px, 1.4fr) auto auto auto;
  align-items: center;
  gap: 18px;
}

.footer-inner p
{
  font-size: 11px;
  color: #afc8ca;
  margin: 0;
}

.footer-address
{
  margin: 0;
  font-style: normal;
  display: grid;
  gap: 3px;
}

.footer-address-label
{
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-address a
{
  color: #afc8ca;
  font-size: 11px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-address a:hover
{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-complaints
{
  justify-self: end;
  color: #91a9ab;
  font-size: 10px;
  line-height: 1.4;
  opacity: .8;
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer-complaints:hover
{
  color: #fff;
  opacity: 1;
  text-decoration: underline;
}

.privacy-hero h1
{
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -.045em;
}

.privacy-content
{
  max-width: 850px;
  padding: 0 0 76px;
}

.privacy-summary
{
  padding: 24px 28px;
  border-left: 4px solid var(--teal);
  border-radius: 4px 18px 18px 4px;
  background: #eaf5f3;
}

.privacy-summary-label
{
  color: #47747c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.privacy-summary p
{
  margin: 10px 0 0;
  color: var(--ink);
  font: 19px/1.65 var(--sans);
}

.privacy-details
{
  display: grid;
  gap: 8px;
  padding: 26px 0 30px;
}

.privacy-details section
{
  padding: 20px 0;
  border-bottom: 1px solid #17343b20;
}

.privacy-details h2
{
  margin: 0 0 9px;
  color: var(--ink);
  font: 22px/1.3 var(--sans);
  font-weight: 700;
}

.privacy-details p
{
  max-width: 760px;
  margin: 0;
  color: #60777a;
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand
{
  font: 16px var(--display);
}

.footer-home
{
  justify-self: end;
  padding: 10px 15px;
  border: 1px dashed rgb(234 246 246 / 65%);
  border-radius: 18px 5px 18px 5px;
  color: #eaf6f6;
  font: 14px var(--display);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.footer-home:hover
{
  transform: translateY(-2px) rotate(-1deg);
  background: rgb(112 191 200 / 14%);
}

@media(max-width:760px)
{
  .wrap
  {
    width: calc(100% - 40px);
  }

  .site-header
  {
    height: 72px;
  }

  .brand-logo
  {
    width: 98px;
    height: 66px;
  }

  .nav-toggle
  {
    display: block;
    width: 42px;
    height: 42px;
  }

  .nav
  {
    display: none;
    position: absolute;
    z-index: 5;
    top: 72px;
    left: 14px;
    right: 14px;
    padding: 12px 18px;
    background: #fffdf8;
    border: 1px solid #e9dfcf;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgb(23 52 59 / 12%);
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .nav a
  {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0;
    border-bottom: 1px solid #e9dfcf;
  }

  .nav a::after
  {
    display: none;
  }

  .nav a:last-child
  {
    border-bottom: 0;
  }

  .nav a
  {
    width: 100%;
    justify-content: flex-start;
    min-height: 45px;
    padding: 0 15px;
  }

  .nav.open
  {
    display: flex;
  }

  .home-hero
  {
    padding-top: 54px;
  }

  .home-hero h1
  {
    font-size: clamp(48px,12vw,76px);
  }

  .home-hero p
  {
    font-size: 14px;
  }

  .home-photos
  {
    gap: 8px;
    padding: 31px 0 51px;
  }

  .home-photo:first-child,.home-photo:nth-child(3)
  {
    height: 210px;
  }

  .home-photo:nth-child(2)
  {
    height: 270px;
  }

  .photo-caption
  {
    font-size: 8px;
    left: 7px;
    bottom: 7px;
    padding: 7px 9px;
  }

  .home-intro
  {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0 58px;
  }

  .home-intro h2
  {
    font-size: 34px;
  }

  .page-links
  {
    padding: 48px 0;
  }

  .page-link
  {
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
  }

  .page-link strong
  {
    font-size: 20px;
  }

  .page-hero
  {
    padding: 54px 0 30px;
  }

  .feature-photo
  {
    height: 390px;
    min-height: 0;
    border-top-right-radius: 75px;
  }

  .content-section
  {
    padding: 54px 0;
  }

  .two-col
  {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-col img
  {
    height: 340px;
  }

  .gallery-grid
  {
    grid-auto-rows: 48px;
    gap: 9px;
    padding-bottom: 56px;
  }

  .gallery-item:nth-child(1)
  {
    grid-column: span 12;
    grid-row: span 5;
  }

  .gallery-item:nth-child(2)
  {
    grid-column: span 6;
    grid-row: span 4;
  }

  .gallery-item:nth-child(3)
  {
    grid-column: span 6;
    grid-row: span 4;
  }

  .gallery-item:nth-child(4)
  {
    grid-column: span 7;
    grid-row: span 4;
  }

  .gallery-item:nth-child(5)
  {
    grid-column: span 5;
    grid-row: span 4;
  }

  .gallery-item:nth-child(6)
  {
    grid-column: span 6;
    grid-row: span 4;
  }

  .gallery-item:nth-child(7)
  {
    grid-column: span 6;
    grid-row: span 4;
  }

  .steps
  {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .step
  {
    min-height: 0;
    padding: 23px;
  }

  .note-band
  {
    padding: 26px;
    margin-bottom: 55px;
  }

  .note-band p
  {
    font-size: 21px;
  }

  .footer-inner
  {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-home
  {
    justify-self: start;
  }

}

@media (prefers-reduced-motion: reduce)
{
  .brand-logo
  {
    transition: none;
  }

  .brand:hover .brand-logo,
  .brand:focus-visible .brand-logo
  {
    transform: none;
  }
}

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

  *,*:before,*:after
  {
    transition: none!important;
  }

}

/* Ajustes para telemóveis estreitos e texto com palavras longas. */
@media (max-width: 420px)
{
  .wrap
  {
    width: calc(100% - 32px);
  }

  .site-header
  {
    gap: 12px;
  }

  .brand-logo
  {
    width: 88px;
    height: 60px;
  }

  .home-cover
  {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-cover h1
  {
    font-size: clamp(40px, 11vw, 52px);
    overflow-wrap: anywhere;
  }

  .home-overline
  {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .home-scroll
  {
    max-width: 100%;
    white-space: normal;
  }

  .page-hero h1
  {
    font-size: clamp(40px, 12vw, 54px);
    overflow-wrap: anywhere;
  }

  .page-link
  {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .page-link strong
  {
    font-size: 18px;
  }

  .home-photos
  {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .home-photo:first-child,
  .home-photo:nth-child(3)
  {
    height: 175px;
  }

  .home-photo:nth-child(2)
  {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 230px;
  }

  .feature-photo,
  .two-col img
  {
    height: 280px;
  }

  .privacy-summary
  {
    padding: 20px;
  }

  .privacy-summary p
  {
    font-size: 16px;
  }
}

@media (max-width: 980px)
{
  .footer-inner
  {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px 28px;
  }

  .footer-inner > *
  {
    min-width: 0;
  }

  .footer-address
  {
    grid-column: 2;
  }

  .footer-home
  {
    justify-self: start;
  }

  .footer-complaints
  {
    justify-self: start;
    line-height: 1.5;
  }
}

@media (max-width: 760px)
{
  .site-header
  {
    position: relative;
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 12px;
  }

  .site-header > .brand
  {
    margin-right: auto;
  }

  .site-header > .nav-toggle
  {
    flex: 0 0 42px;
  }

  .site-header > .nav
  {
    position: static;
    inset: auto;
    flex: 0 0 calc(100% + 0px);
    width: 100%;
    margin: 0 0 12px;
    padding: 8px 14px;
    border: 1px solid #e9dfcf;
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 8px 18px rgb(23 52 59 / 8%);
  }

  .footer-inner
  {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .footer-address
  {
    grid-column: auto;
  }

  .footer-complaints
  {
    justify-self: start;
  }

  .site-footer
  {
    padding: 18px 0;
  }

  .footer-inner
  {
    gap: 11px;
    justify-items: center;
    text-align: center;
  }

  .footer-address
  {
    justify-items: center;
  }

  .footer-home
  {
    justify-self: center;
    min-height: 40px;
    padding: 8px 12px;
  }

  .footer-complaints
  {
    justify-self: center;
  }
}

/* Tipografia da identidade visual nas páginas internas. */
.page-hero h1,
.page-links h2,
.page-link strong,
.content-section h2,
.step h2,
.note-band p
{
  font-family: var(--display);
  letter-spacing: 0;
}

