:root {
    --header-height: 92px;
    --hero-height: calc(100vh - var(--header-height));
    --hero-bg: url("/src/hero.png");
    /* troque depois */
    --banner-bg: #2f667d;
    --banner-title: #d8a13a;
    --banner-sub: #d8a13a;

    --ink: #1e4e63;
    --muted: #4f6e7c;
    --line: #1e4e63;
    --cta-border: #1e4e63;
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 420px;
    background-image: var(--hero-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    transition: background-image 0.6s ease-in-out;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.10) 40%,
            rgba(0, 0, 0, 0.00) 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    height: 80%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Banner do texto (lado direito) */
.hero-banner {
    width: 750px;
    background: var(--banner-bg);
    padding: 28px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    transition: 0.6s ease-in-out;
}

.hero-title {
    font-size: 44px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--banner-title);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 0.08em;
    color: var(--banner-sub);
    text-transform: uppercase;
    font-style: italic;
    opacity: 0.95;
}

/* SECTION 2 - ABOUT */
.about {
    width: 75vw;
    max-width: 1920px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px 0 44px 0;
}

.about-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 64px;
}

.about-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 26px;
}

.about-line {
    height: 1px;
    background: var(--line);
    flex: 1;
    max-width: 520px;
    opacity: 0.9;
}

.about-heading {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.35;
}

.about-text p {
    margin-bottom: 22px;
    text-align: left;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
}

.about-image-wrap {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--cta-border);
    border-radius: 999px;

    text-decoration: none;
    color: var(--ink);
    font-size: 18px;
}

.about-cta-text {
    white-space: nowrap;
}

.about-cta-divider {
    height: 1px;
    background: var(--cta-border);
    flex: 1;
    opacity: 0.9;
}

.about-cta-arrow {
    font-size: 26px;
    line-height: 1;
    padding-right: 6px;
}

/* SECTION 3 - SERVIÇOS */
.services {
    width: 75vw;
    max-width: 1920px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px 0 28px 0;
}

.services-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

.services-line {
    height: 1px;
    background: var(--line);
    flex: 1;
    max-width: 520px;
    opacity: 0.9;
}

.services-heading {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: start;
    margin-top: 10px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.service-type {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-transform: uppercase;
}

.service-media {
    position: relative;
    width: 100%;
    border-radius: 26px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 26px;
}

/* HOVER */
.service-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px 34px 40px;

    background: rgba(20, 44, 58, 0.55);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-media:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-hover-text {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 18px;
    max-width: 560px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.service-hover-btn {
    border: none;
    cursor: default;
    /* botão não navega ainda */
    background: #d8a13a;
    color: #111;
    font-size: 22px;
    font-weight: 500;

    padding: 14px 26px;
    border-radius: 999px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Pequeno efeito visual no hover (opcional) */
.service-media:hover .service-img {
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.service-img {
    transition: transform 0.35s ease;
}

/* SECTION 4 - DEPOIMENTOS */
.testimonials {
    width: 75vw;
    max-width: 1920px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px 0 70px 0;
}

.testimonials-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

.testimonials-line {
    height: 1px;
    background: var(--line);
    flex: 1;
    max-width: 520px;
    opacity: 0.9;
}

.testimonials-heading {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-transform: uppercase;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 420px));
    justify-content: center;
    gap: 26px;
    margin-top: 20px;
}

.testimonial-card {
    border: 2px solid var(--ink);
    border-radius: 44px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.testimonial-top {
    position: relative;
    background: #d7a44b;
    padding: 82px 52px 46px 52px;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
    flex: 1;
}

.testimonial-quotes {
    position: absolute;
    top: 14px;
    left: 18px;
    font-size: 110px;
    line-height: 1;
    color: rgba(255, 235, 180, 0.85);
    font-weight: 900;
}

.testimonial-text {
    color: #0f0f0f;
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    max-width: 520px;
}

.testimonial-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    font-size: 40px;
    color: var(--ink);
    font-weight: 500;
}

/* SECTION - CONTATOS */
.contact {
    width: 75vw;
    max-width: 1920px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px 0 70px 0;
}

.contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

.contact-line {
    height: 1px;
    background: var(--line);
    flex: 1;
    max-width: 520px;
    opacity: 0.9;
}

.contact-heading {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: start;
    margin-top: 20px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-text {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.35;
    margin: 0;
}

.contact-block {
    margin-top: 8px;
}

.contact-label {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.contact-value {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.35;
}

.contact-phone {
    color: var(--ink);
    font-size: 20px;
    text-decoration: underline;
    width: fit-content;
}

.contact-phone:hover {
    opacity: 0.85;
}

/* Botão igual ao da section LG DUARTE */
.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 620px;
    max-width: 100%;
    margin-top: 28px;

    padding: 14px 18px;
    border: 1px solid var(--cta-border);
    border-radius: 999px;

    text-decoration: none;
    color: var(--ink);
    font-size: 18px;
}

.contact-cta-text {
    white-space: nowrap;
}

.contact-cta-divider {
    height: 1px;
    background: var(--cta-border);
    flex: 1;
    opacity: 0.9;
}

.contact-cta-arrow {
    font-size: 26px;
    line-height: 1;
    padding-right: 6px;
}

/* MAPA */
.contact-map {
    border: 2px solid var(--ink);
    border-radius: 40px;
    overflow: hidden;
    width: 100%;
    height: 520px;
    background: #f2f2f2;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================
   RESPONSIVO (Notebook / Tablet / Celular)
   Cole no FINAL do CSS
   ========================= */

/* ---------- NOTEBOOK (<= 1366px) ---------- */
@media (max-width: 1366px) {
  :root {
    --header-height: 84px;
  }

  /* HERO */
  .hero-inner {
    padding: 0 40px;
    height: 82%;
  }

  .hero-banner {
    width: 640px;
    padding: 24px 28px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  /* SECTIONS WIDTH */
  .about,
  .services,
  .testimonials,
  .contact {
    width: 84vw;
  }

  .about-container {
    padding: 0 40px;
  }

  /* TITLES */
  .about-heading,
  .services-heading,
  .testimonials-heading,
  .contact-heading {
    font-size: 42px;
  }

  /* ABOUT */
  .about-grid {
    gap: 38px;
  }

  .about-text {
    font-size: 18px;
  }

  /* SERVICES */
  .services-grid {
    gap: 36px;
  }

  .service-type {
    font-size: 40px;
  }

  .service-img {
    height: 340px;
  }

  .service-hover {
    padding: 0 28px 28px 28px;
  }

  .service-hover-text {
    font-size: 22px;
    max-width: 520px;
  }

  .service-hover-btn {
    font-size: 20px;
    padding: 12px 22px;
  }

  /* TESTIMONIALS */
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 20px;
  }

  .testimonial-card {
    min-height: 520px;
    border-radius: 36px;
  }

  .testimonial-top {
    padding: 74px 40px 40px 40px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  .testimonial-quotes {
    font-size: 92px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .testimonial-name {
    height: 120px;
    font-size: 34px;
  }

  /* CONTACT */
  .contact-grid {
    gap: 34px;
  }

  .contact-text,
  .contact-value {
    font-size: 18px;
  }

  .contact-label {
    font-size: 22px;
  }

  .contact-cta {
    width: 520px;
  }

  .contact-map {
    height: 460px;
    border-radius: 34px;
  }
}


/* ---------- TABLET (<= 1024px) ---------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  /* SECTIONS WIDTH */
  .about,
  .services,
  .testimonials,
  .contact {
    width: 92vw;
    padding-left: 0;
    padding-right: 0;
  }

  .about-container {
    padding: 0 28px;
  }

  /* HERO */
  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding: 0 28px;
    height: 85%;
    justify-content: center; /* centraliza o banner no tablet */
  }

  .hero-banner {
    width: min(720px, 100%);
    padding: 22px 24px;
  }

  .hero-title {
    font-size: 36px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 14px;
    text-align: center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.10) 45%,
      rgba(0,0,0,0.00) 85%
    );
  }

  /* TITLES */
  .about-title,
  .services-title,
  .testimonials-title,
  .contact-title {
    gap: 12px;
    margin-bottom: 24px;
  }

  .about-line,
  .services-line,
  .testimonials-line,
  .contact-line {
    max-width: 260px;
  }

  .about-heading,
  .services-heading,
  .testimonials-heading,
  .contact-heading {
    font-size: 36px;
  }

  /* ABOUT */
  .about {
    padding: 46px 0 36px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-text {
    font-size: 18px;
  }

  .about-cta {
    font-size: 16px;
    padding: 12px 16px;
  }

  /* SERVICES */
  .services {
    padding: 46px 0 24px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-type {
    font-size: 34px;
    text-align: center;
  }

  .service-img {
    height: 320px;
  }

  /* Ajuste: hover não é confiável em touch */
  .service-hover {
    opacity: 1;
    transform: none;
    background: rgba(20, 44, 58, 0.45);
  }

  .service-hover-text {
    font-size: 20px;
    text-align: center;
  }

  .service-hover-btn {
    font-size: 18px;
    padding: 12px 22px;
  }

  /* TESTIMONIALS */
  .testimonials {
    padding: 46px 0 56px 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
  }

  .testimonial-card {
    min-height: 520px;
  }

  .testimonial-top {
    padding: 70px 34px 36px 34px;
  }

  .testimonial-quotes {
    font-size: 86px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .testimonial-name {
    font-size: 32px;
    height: 120px;
  }

  /* CONTACT */
  .contact {
    padding: 46px 0 56px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-cta {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
  }

  .contact-map {
    height: 420px;
    border-radius: 32px;
  }
}


/* ---------- CELULAR (<= 768px) ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  /* HERO */
  .hero {
    min-height: 520px;
    height: auto; /* evita cortes estranhos */
    padding: 18px 0;
  }

  .hero-inner {
    padding: 0 18px;
    height: auto;
    justify-content: center;
    align-items: flex-end;
  }

  .hero-banner {
    width: 100%;
    padding: 18px 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.08;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-align: center;
  }

  /* SECTIONS */
  .about,
  .services,
  .testimonials,
  .contact {
    width: 94vw;
    padding: 40px 0;
  }

  .about-container {
    padding: 0 18px;
  }

  /* TITLES */
  .about-title,
  .services-title,
  .testimonials-title,
  .contact-title {
    gap: 10px;
    margin-bottom: 18px;
  }

  .about-line,
  .services-line,
  .testimonials-line,
  .contact-line {
    max-width: 140px;
  }

  .about-heading,
  .services-heading,
  .testimonials-heading,
  .contact-heading {
    font-size: 28px;
    text-align: center;
  }

  /* ABOUT */
  .about-grid {
    gap: 22px;
  }

  .about-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .about-cta {
    font-size: 15px;
    padding: 12px 14px;
    gap: 12px;
  }

  .about-cta-arrow {
    font-size: 22px;
    padding-right: 2px;
  }

  /* SERVICES */
  .services-grid {
    gap: 22px;
  }

  .service-type {
    font-size: 28px;
  }

  .service-media {
    border-radius: 18px;
  }

  .service-img {
    height: 240px;
    border-radius: 18px;
  }

  .service-hover {
    padding: 0 16px 16px 16px;
    background: rgba(20, 44, 58, 0.48);
  }

  .service-hover-text {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .service-hover-btn {
    font-size: 16px;
    padding: 10px 18px;
  }

  /* TESTIMONIALS */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
  }

  .testimonial-card {
    border-radius: 28px;
    min-height: auto;
  }

  .testimonial-top {
    padding: 58px 22px 28px 22px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .testimonial-quotes {
    font-size: 70px;
    top: 10px;
    left: 14px;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .testimonial-name {
    height: 96px;
    font-size: 26px;
  }

  /* CONTACT */
  .contact-grid {
    gap: 22px;
  }

  .contact-text,
  .contact-value,
  .contact-phone {
    font-size: 16px;
  }

  .contact-label {
    font-size: 18px;
  }

  .contact-cta {
    width: 100%;
    font-size: 15px;
    padding: 12px 14px;
    margin-top: 18px;
  }

  .contact-map {
    height: 320px;
    border-radius: 26px;
  }
}

/* ---------- CELULAR PEQUENO (<= 480px) - opcional, mas ajuda bastante ---------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .about-heading,
  .services-heading,
  .testimonials-heading,
  .contact-heading {
    font-size: 24px;
  }

  .service-img {
    height: 210px;
  }

  .contact-map {
    height: 280px;
  }
}
