:root {
  --color-white: #ffffff;
  --color-text: #202020;
  --color-text-muted: rgba(0, 0, 0, 0.78);
  --color-navy: #12115d;
  --color-navy-deep: #03033a;
  --color-blue: #005497;
  --color-blue-bright: #097edc;
  --color-orange: #ff4b09;
  --color-orange-soft: #fc4d0f;
  --color-light: #e3e8f0;
  --color-shadow: rgba(12, 18, 54, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --container: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding-top: 30px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  width: min(220px, 42vw);
  flex-shrink: 0;
}

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

.primary-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-orange-soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 220px 0 220px;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(18, 17, 93, 0.4) 0%, rgba(18, 17, 93, 0.96) 100%),
    url("assets/images/Reparos-e-reformas-em-embarcacoes.jpg") center center / cover;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-subtitle {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  margin-top: 40px;
  padding: 16px 35px;
  background: var(--color-orange);
  color: var(--color-white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-white);
  color: #000000;
}

.button-outline {
  margin-top: 40px;
  padding: 15px 35px;
  border-color: var(--color-white);
  color: var(--color-white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--color-white);
  color: #000000;
}

.highlights {
  position: relative;
  margin-top: -150px;
  z-index: 10;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: rgba(227, 232, 240, 0.94);
  box-shadow: 0 24px 60px var(--color-shadow);
}

.service-card {
  min-height: 195px;
  padding: 46px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  color: var(--color-white);
  border-radius: var(--radius-lg);
}

.service-card img {
  max-height: 58px;
  width: auto;
}

.service-card h2 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.service-card-bright {
  background: var(--color-blue-bright);
}

.service-card-navy {
  background: var(--color-navy);
}

.service-card-blue {
  background: var(--color-blue);
}

.service-card-deep {
  background: var(--color-navy-deep);
}

.service-card-navy img {
  max-width: 50%;
  max-height: none;
}

.service-card-blue img {
  max-width: 60%;
  max-height: none;
}

.highlights-promo {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255, 75, 9, 0.92), rgba(255, 75, 9, 0.92)),
    url("assets/images/marina-26.jpg") center center / cover;
  color: var(--color-white);
  box-shadow: 0 24px 60px rgba(255, 75, 9, 0.18);
}

.highlights-promo h2 {
  max-width: 360px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.about {
  padding: 72px 0 140px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.section-title {
  margin-bottom: 10px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: var(--color-white);
}

.section-title-left {
  text-align: left;
  color: var(--color-text);
}

.section-title-dark {
  color: var(--color-text);
}

.about-copy {
  max-width: 520px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-image {
  margin-top: 20px;
  border-radius: calc(var(--radius-xl) + 10px) var(--radius-xl) calc(var(--radius-xl) + 10px)
    var(--radius-md);
  transform: translateY(60px);
  box-shadow: 0 20px 60px var(--color-shadow);
}

.about-values {
  display: grid;
  gap: 26px;
  padding-top: 12px;
}

.value-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(227, 232, 240, 0.72));
  box-shadow: 0 18px 40px rgba(12, 18, 54, 0.08);
}

.value-card img {
  width: 48px;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.value-card p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 16px;
  line-height: 2;
}

.services {
  position: relative;
  padding: 160px 0 120px;
  background: var(--color-blue);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 159px;
  background:
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxNTlweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0wIDUxLjc2YzM2LjIxLTIuMjUgNzcuNTctMy41OCAxMjYuNDItMy41OCAzMjAgMCAzMjAgNTcgNjQwIDU3IDI3MS4xNSAwIDMxMi41OC00MC45MSA1MTMuNTgtNTMuNFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii4zIi8+PHBhdGggZD0iTTAgMjQuMzFjNDMuNDYtNS42OSA5NC41Ni05LjI1IDE1OC40Mi05LjI1IDMyMCAwIDMyMCA4OS4yNCA2NDAgODkuMjQgMjU2LjEzIDAgMzA3LjI4LTU3LjE2IDQ4MS41OC04MFYwSDB6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTAgMHYzLjRDMjguMiAxLjYgNTkuNC41OSA5NC40Mi41OWMzMjAgMCAzMjAgODQuMyA2NDAgODQuMyAyODUgMCAzMTYuMTctNjYuODUgNTQ1LjU4LTgxLjQ5VjB6Ii8+PC9nPjwvc3ZnPg==")
      center top / 100% 159px no-repeat;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section-title {
  margin-top: 80px;
}

.service-block {
  display: grid;
  gap: 48px;
  align-items: start;
}

.service-block + .service-block {
  margin-top: 64px;
}

.service-block-primary,
.service-block-secondary,
.service-block-tertiary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 38px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
}

.service-copy h3 {
  margin: 0 0 18px;
  color: var(--color-orange-soft);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.service-copy ul {
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.8;
}

.service-gallery-stack {
  display: grid;
  gap: 16px;
}

.service-media img,
.service-gallery-stack img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(2, 12, 40, 0.2);
}

.clients {
  overflow: hidden;
  padding: 110px 0 110px;
  background: var(--color-white);
}

.logo-marquee {
  overflow: hidden;
  margin-top: 38px;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 120px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 17, 93, 0.02), rgba(18, 17, 93, 0.06));
}

.logo-item img {
  max-width: 180px;
  max-height: 96px;
  object-fit: contain;
}

.contact-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 17, 93, 0.42) 0%, rgba(18, 17, 93, 0.92) 100%),
    url("assets/images/Contato.jpeg") center center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: 0;
  padding-top: 120px;
}

.contact-callout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
}

.contact-callout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  width: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.contact-callout-link:hover,
.contact-callout-link:focus-visible {
  background: var(--color-blue-bright);
}

.contact-card {
  padding: 80px 60px 96px;
  border-radius: 0 var(--radius-xl) var(--radius-xl) var(--radius-xl);
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow:
    -180px 0 0 0 var(--color-navy),
    0 24px 52px rgba(2, 12, 40, 0.28);
}

.contact-card h2 {
  margin: 0 0 24px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.8;
}

.contact-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.contact-icon {
  color: var(--color-orange);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-item p {
  font-size: 16px;
  line-height: 1.8;
}

.contact-item a {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 0;
  padding: 15px 0;
  background: var(--color-orange-soft);
}

.footer-meta-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta p {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

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

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  width: min(1100px, calc(100% - 24px));
  padding: 18px 22px 22px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.cookie-banner-text {
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.cookie-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.75);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-button-accept,
.cookie-button-decline {
  min-width: 0;
  padding: 15px 20px;
  border-width: 0;
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.cookie-button-accept {
  background: #2f7abe;
  color: var(--color-white);
}

.cookie-button-decline {
  background: #f1f1f1;
  color: rgba(0, 0, 0, 0.72);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--color-white);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.35);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 36px));
  }
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 16px 32px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }

  70% {
    transform: scale(1.06);
    box-shadow:
      0 16px 32px rgba(37, 211, 102, 0.35),
      0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 16px 32px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 170px;
    padding-bottom: 150px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .highlights {
    margin-top: -100px;
  }

  .highlights-grid,
  .about-grid,
  .service-block-primary,
  .service-block-secondary,
  .service-block-tertiary,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .highlights-promo,
  .contact-card {
    box-shadow: 0 22px 44px rgba(12, 18, 54, 0.14);
  }

  .highlights-promo,
  .contact-card {
    padding: 48px 32px;
  }

  .highlights-promo h2,
  .contact-card h2,
  .section-title,
  .section-title-dark,
  .section-title-left {
    font-size: 35px;
  }

  .about {
    padding-bottom: 100px;
  }

  .about-image {
    transform: translateY(0);
  }

  .services {
    padding-bottom: 96px;
  }

  .services .section-title {
    margin-top: 62px;
  }

  .service-block-primary,
  .service-block-secondary,
  .service-block-tertiary {
    padding: 30px;
  }

  .contact-grid {
    gap: 24px;
    padding-top: 100px;
  }

  .contact-callout-link {
    min-height: 180px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    font-size: 40px;
  }

  .contact-card {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .footer-meta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cookie-banner {
    width: min(760px, calc(100% - 24px));
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    padding-top: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-navy);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 16px 20px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 92px;
    background-position: right 80% top;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 56px);
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .button-primary,
  .button-outline {
    min-width: 0;
    padding: 14px 22px;
    font-size: 12px;
  }

  .highlights {
    margin-top: -40px;
  }

  .service-cards {
    padding: 10px;
    gap: 10px;
  }

  .service-card {
    min-height: 160px;
    padding: 38px 18px 30px;
    gap: 18px;
  }

  .service-card h2 {
    font-size: 16px;
  }

  .service-card-bright img {
    max-width: 90%;
  }

  .service-card-navy img {
    max-width: 40%;
  }

  .service-card-blue img {
    max-width: 47%;
  }

  .highlights-promo {
    padding: 44px 30px;
  }

  .highlights-promo h2 {
    font-size: 28px;
  }

  .section-title,
  .section-title-dark,
  .section-title-left {
    font-size: 28px;
  }

  .about {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .about-copy,
  .value-card p,
  .service-copy ul,
  .contact-intro,
  .contact-item p {
    font-size: 13px;
  }

  .value-card h3 {
    font-size: 18px;
  }

  .services {
    padding-top: 128px;
  }

  .services .section-title {
    margin-top: 28px;
  }

  .service-block-primary,
  .service-block-secondary,
  .service-block-tertiary {
    padding: 24px;
  }

  .service-copy h3 {
    font-size: 22px;
  }

  .service-block + .service-block {
    margin-top: 50px;
  }

  .logo-track {
    gap: 44px;
    animation-duration: 20s;
  }

  .logo-item {
    min-width: 220px;
    min-height: 90px;
  }

  .logo-item img {
    max-width: 150px;
    max-height: 74px;
  }

  .contact-grid {
    padding-top: 60px;
  }

  .contact-callout-link {
    min-height: 120px;
    font-size: 30px;
  }

  .contact-card {
    padding: 40px 24px 48px;
  }

  .contact-card h2 {
    font-size: 28px;
  }

  .contact-item {
    gap: 14px;
  }

  .cookie-banner {
    bottom: 18px;
    padding: 18px 16px 18px;
  }

  .cookie-banner-title {
    font-size: 16px;
    padding-right: 28px;
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}
