
    :root {
      --primary: #1f4f7b;
      --primary-light: #e7f0f9;
      --accent: #f5a623;
      --text: #252525;
      --bg: #ffffff;
      --muted: #505050;
      --border: #e0e0e0;
      --max-width: 1100px;
      --radius: 8px;
      --shadow-soft: 0 4px 12px rgba(0,0,0,0.06);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background-color: var(--bg);
      line-height: 1.6;
    }

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

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

    iframe {
      width: 600px;
      margin-left: 50%;
      transform:translateX(-300px)
    }
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: #0e2841;
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    }

    .height-max{
      max-height: 200px;
      width: 400px;
      margin: auto;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 16px;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
    }

    .logo {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--primary);
    }

    .logoimg{
      max-width: 180px;
      height: auto;
    }

    .logo span {
      font-weight: 400;
      color: var(--muted);
      font-size: 0.9rem;
    }

    
    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
    }

    nav a {
      font-size: 0.95rem;
      color: #fff;
      padding: 6px 0;
      position: relative;
    }

    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0;
      height: 2px;
      background-color: #baa24a;
      transition: width 0.2s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    /* Hero */
    .hero {
      padding: 60px 0 40px;
      background: linear-gradient(135deg, var(--primary-light), #ffffff);
      /*background: var(--primary-light);
      background-image: url(img/estrutura.webp);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;*/
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .hero h1 {
      font-size: 2.2rem;
      margin-bottom: 16px;
      color: var(--primary);
    }

    .hero p {
      font-size: 1rem;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .hero-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 24px;
    }

    .hero-tag {
      background-color: #ffffff;
      border-radius: 999px;
      padding: 6px 14px;
      font-size: 0.85rem;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn-primary {
      background-color: #baa24a;
      color: #fff;
      padding: 10px 20px;
      border-radius: 999px;
      font-size: 0.95rem;
      border: 1px solid #fff;
      cursor: pointer;
      box-shadow: var(--shadow-soft);
    }

    .btn-primary:hover {
      background-color: #163a5a;
    }

    .btn-secondary {
      background-color: #ffffff;
      color: var(--primary);
      padding: 10px 20px;
      border-radius: 999px;
      font-size: 0.95rem;
      border: 1px solid var(--primary);
      cursor: pointer;
    }

    .hero-visual {
      background-color: #fff;
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-soft);
      border: 1px solid var(--border);
    }

    .hero-visual-graphic {
      height: 280px;
      border-radius: var(--radius);
      background: repeating-linear-gradient(
        -45deg,
        #d0d8e0,
        #d0d8e0 6px,
        #e7edf3 6px,
        #e7edf3 12px
      );
      position: relative;
      overflow: hidden;
      margin-bottom: 8px;
      background-image: url(img/ferros.webp);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    #artigo {
      background-color: #e7f0f9;
    }

    #artigo p{
      color: #0E2841;
    }
/*
  .hero-visual-graphic::after {
      content: "";
      position: absolute;
      width: 60%;
      height: 60%;
      border-radius: 12px;
      border: 3px solid #ffffff;
      box-shadow: 0 6px 16px rgba(0,0,0,0.12);
      top: 18%;
      left: 20%;
      background: linear-gradient(135deg, #9fb7d3, #4a6fa3);
    }
*/

    .hero-visual p {
      font-size: 0.9rem;
      color: var(--muted);
    }

    /* Sections */
    section {
      padding: 60px 0;
    }

    section h2 {
      font-size: 1.6rem;
      margin-bottom: 10px;
      color: var(--primary);
      text-align: center;
    }

    section p.section-subtitle {
      text-align: center;
      color: var(--muted);
      font-size: 0.95rem;
      margin-bottom: 30px;
    }

    /* Serviços */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .services-grid-mod {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    .card {
      background-color: #ffffff;
      border-radius: var(--radius);
      padding: 20px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
    }

    .card h3 {
      font-size: 1.1rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .card span.icon {
      display: inline-flex;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      align-items: center;
      justify-content: center;
      background-color: var(--primary-light);
      color: var(--primary);
      font-size: 1.1rem;
      margin-bottom: 8px;
    }

    .card p {
      font-size: 0.9rem;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .card ul {
      list-style: disc;
      padding-left: 18px;
      font-size: 0.9rem;
      color: var(--muted);
    }

    /* Sobre */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 30px;
      align-items: center;
    }

    .about-photo {
      width: 100%;
      height: 500px;
      max-height: 500px;
      border-radius: var(--radius);
      /*background: linear-gradient(135deg, #4a6fa3, #1f4f7b);*/
      background-image: url(img/Claudio.jpeg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-soft);
    }

    .about-photo::after {
      content: "Eng. Civil | Geólogo";
      position: absolute;
      bottom: 16px;
      left: 16px;
      background-color: #ffffffdd;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 0.85rem;
      color: var(--primary);
      font-weight: 600;
    }

    .about-text h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: var(--primary);
    }

    .about-text p {
      font-size: 0.95rem;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .about-highlights {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 10px;
    }

    .about-highlight {
      background-color:#e7e4d9;
      border-radius: var(--radius);
      padding: 10px;
      font-size: 0.85rem;
      color: var(--primary);
      text-align: center;
    }

    .gold{
      color: #baa24a !important; 
    }

    .blue{
      color: #0E2841 !important; 
    }

    /* Depoimentos */
    .section-alt {
      background-color: #f7f8fa;
    }

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

    .testimonial {
      background-color: #ffffff;
      border-radius: var(--radius);
      padding: 18px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
      font-size: 0.9rem;
      color: var(--muted);
      position: relative;
    }

    .testimonial::before {
      content: "“";
      position: absolute;
      font-size: 3rem;
      color: var(--primary-light);
      top: -10px;
      left: 10px;
    }

    .testimonial strong {
      display: block;
      margin-top: 10px;
      color: var(--primary);
      font-size: 0.9rem;
    }

    /* Artigos */
    .articles-list {
      /*display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;*/
      display: flex;
      justify-content: center;
    }

    .article-item {
      max-width: 650px;
      padding: 16px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      /*background-color: #ffffff;*/
      background: linear-gradient(135deg, var(--primary-light), #ffffff);
      box-shadow: var(--shadow-soft);
    }

    .article-item h3 {
      font-size: 1rem;
      margin-bottom: 6px;
      color: var(--primary);
    }

    .article-item p {
      font-size: 0.9rem;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .article-item a {
      font-size: 0.85rem;
      color: var(--primary);
      font-weight: 600;
    }

    /* Contato */
    .contact-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    form {
      background-color: #ffffff;
      border-radius: var(--radius);
      padding: 20px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
    }

    .form-group {
      margin-bottom: 12px;
    }

    .hover-link:hover {
      color: #0E2841;
    }

    label {
      display: block;
      font-size: 0.85rem;
      margin-bottom: 4px;
      color: var(--text);
    }

    input, select, textarea {
      width: 100%;
      padding: 8px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      font-size: 0.9rem;
      font-family: inherit;
    }

    textarea {
      min-height: 100px;
      resize: vertical;
    }

    .contact-info {
      font-size: 0.95rem;
      color: var(--muted);
    }

    .contact-info h3 {
      font-size: 1.05rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .contact-info p {
      margin-bottom: 8px;
    }

    .contact-info strong {
      color: var(--text);
    }

    .section-alt{
      background-color: #f3f6f8;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 16px 0;
      font-size: 0.85rem;
      color: var(--muted);
      background-color: #ffffff;
    }

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

    .footer-links {
      display: flex;
      gap: 12px;
    }

    .footer-links a {
      color: var(--muted);
      font-size: 0.85rem;
    }

    /* Responsivo */
    @media (max-width: 900px) {
      .hero-grid,
      .services-grid,
      .about-grid,
      .testimonials-grid,
      .articles-list,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-top: 40px;
      }

      .height-max {
        width: 400px;
      }

      body{
        overflow-x: hidden;
      }

    }

    @media (max-width: 600px) {
      .hero h1 {
        font-size: 1.7rem;
      }

      iframe {
        width: 400px;
        margin-left: 50%;
        transform:translateX(-200px);
      }

      section {
        padding: 40px 0;
      }

      .menu{
        display: none;
      }

    }