/* Responsive final — Site Créativ' */

html {
  overflow-x: clip;
}

body {
  min-width: 0;
}

img,
svg,
video {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title > div,
.faq-question-text {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  word-spacing: 0.06em;
  hyphens: none;
  text-wrap: balance;
}

.section {
  padding-block: clamp(72px, 7vw, 108px);
}

.section-title {
  width: min(100%, 920px);
  margin-inline: auto;
  padding-inline: 18px;
  padding-bottom: clamp(28px, 4vw, 46px);
}

.section-title > h2,
.section-title > h3 {
  font-size: 0.72rem !important;
  line-height: 1.5;
  letter-spacing: 0.11em;
}

.section-title > div {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem) !important;
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -0.014em;
}

.hero h1 {
  font-size: clamp(1.75rem, 2.75vw, 2.75rem);
  font-weight: 550;
  line-height: 1.24;
  letter-spacing: -0.008em;
  word-spacing: 0.1em;
}

.hero h1 .highlight {
  font-weight: 550;
}

.about-content h2,
.service-heading,
.applications-copy > h3,
.team-intro h3,
.faq-guide h3 {
  letter-spacing: -0.012em;
  word-spacing: 0.06em;
}

.about-image,
.applications-visual,
.hero .fluid-shape {
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .hero .fluid-shape {
    width: min(100%, 560px);
  }

  .hero .fluid-img {
    width: 100%;
    height: auto;
  }

  .about-image {
    width: min(100%, 540px);
  }

  .applications-visual img {
    width: min(100%, 620px);
  }

  .team-role-visual {
    max-height: 225px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .section {
    padding-block: clamp(68px, 8vw, 88px);
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 3.8vw, 2.15rem);
    font-weight: 550;
    line-height: 1.3;
  }

  .hero-mobile-visual img {
    width: min(52vw, 390px) !important;
    max-width: 390px !important;
  }

  .about-image {
    width: min(76vw, 520px);
  }

  .applications-visual img {
    width: min(72vw, 520px);
  }

  .team-role-visual {
    max-height: 230px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 56px 0;
  }

  .main > .section > .container:not(.section-title) {
    --bs-gutter-x: 2rem;
  }

  .section-title {
    width: 100%;
    padding: 0 18px 25px;
  }

  .section-title > h2,
  .section-title > h3 {
    margin-bottom: 9px;
    font-size: 0.66rem !important;
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .section-title > div {
    width: min(100%, 19rem);
    margin-inline: auto;
    font-size: clamp(1.18rem, 5vw, 1.42rem) !important;
    line-height: 1.34;
    letter-spacing: -0.008em;
    word-spacing: 0.08em;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 54px;
  }

  .hero .content,
  .hero-h1 {
    max-width: 100%;
  }

  .hero h1 {
    width: min(100%, 20rem);
    margin-inline: auto;
    font-size: clamp(1.08rem, 4.75vw, 1.28rem) !important;
    font-weight: 550;
    line-height: 1.44;
    letter-spacing: 0 !important;
    word-spacing: 0.12em;
  }

  .hero h1 br {
    display: none;
  }

  .hero-mobile-visual {
    display: flex;
    justify-content: center;
    margin: 14px auto 20px;
  }

  .hero-mobile-visual img {
    width: min(76vw, 300px) !important;
    max-width: 300px !important;
    height: auto;
  }

  .hero #title-h3 {
    font-size: 0.88rem;
    line-height: 1.48;
    letter-spacing: 0.075em;
    word-spacing: 0.09em;
  }

  .hero .description p {
    padding-left: 14px;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .hero .cta-button .btn {
    width: min(100%, 300px);
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.8rem;
  }

  .about-image {
    width: min(82vw, 300px) !important;
    margin-bottom: 28px;
  }

  .about-content h2,
  .service-heading,
  .applications-copy > h3,
  .team-intro h3,
  .faq-guide h3,
  .contact-form-wrapper h3 {
    max-width: 19rem;
    font-size: clamp(1.14rem, 4.8vw, 1.34rem) !important;
    line-height: 1.36;
    letter-spacing: -0.006em !important;
    word-spacing: 0.08em;
  }

  .about-content .lead,
  .about-content > p,
  .service-summary p,
  .applications-intro,
  .team-intro p,
  .faq-guide > p {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .feature-item,
  .service-card,
  .step-item,
  .team-intro,
  .team-profile-card,
  .faq-guide,
  .faq-modern .faq-item,
  .contact-info-box,
  .contact-form-wrapper {
    border-radius: 16px !important;
  }

  .feature-item,
  .service-card,
  .step-item {
    padding: 22px 18px !important;
  }

  .service-card h3,
  .step-info h3,
  .team-identity h3,
  .faq-question-text,
  .contact-info-box h4 {
    font-size: 0.94rem !important;
    line-height: 1.45;
    letter-spacing: 0 !important;
    word-spacing: 0.06em;
  }

  .service-card p,
  .step-info p,
  .team-summary,
  .faq-answer p,
  .contact-info-box p {
    font-size: 0.86rem;
    line-height: 1.67;
  }

  .applications-layout {
    --bs-gutter-y: 24px;
  }

  .applications-visual {
    width: 100%;
  }

  .applications-visual img {
    width: min(82vw, 310px) !important;
    max-width: 310px !important;
    height: auto;
    margin-inline: auto !important;
  }

  .applications-visual-badge {
    right: 50%;
    bottom: 2%;
    width: max-content;
    max-width: min(84vw, 270px);
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.64rem;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    transform: translateX(50%);
  }

  .application-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 15px 14px;
  }

  .application-card-icon {
    width: 38px;
    height: 38px;
  }

  .application-card h4 {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .team-intro {
    padding: 19px 16px;
  }

  .team-role-visual {
    aspect-ratio: 16 / 7.4;
    max-height: 155px;
  }

  .team-role-label {
    right: 12px;
    bottom: 10px;
    max-width: calc(100% - 24px);
    padding: 6px 9px;
    font-size: 0.63rem;
  }

  .team-profile-body {
    padding: 0 16px 17px;
  }

  .team-identity {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
  }

  .team-company-logo,
  .team-company-logo--site-creativ,
  .team-company-logo--light,
  .team-company-logo--cyber {
    width: 72px;
    height: 52px;
  }

  .faq-layout {
    gap: 18px;
  }

  .faq-guide {
    padding: 19px 16px;
  }

  .faq-question {
    grid-template-columns: 24px minmax(0, 1fr) 32px;
    gap: 8px;
    padding: 14px 10px 14px 14px;
  }

  .faq-control {
    width: 32px;
    height: 32px;
  }

  .faq-answer p {
    padding: 0 14px 15px 46px;
  }

  .contact .row.gy-4 {
    --bs-gutter-y: 12px;
  }

  .contact-info-box {
    min-height: 0;
    padding: 17px 15px;
  }

  .contact-form-wrapper {
    padding: 23px 16px !important;
  }

  .input-with-icon .form-control {
    min-height: 50px;
    padding: 13px 13px 13px 42px;
    font-size: 1rem;
  }

  .footer {
    padding-top: 54px;
  }
}

@media (max-width: 380px) {
  .section {
    padding-block: 48px;
  }

  .main > .section > .container:not(.section-title) {
    --bs-gutter-x: 1.6rem;
  }

  .section-title {
    padding-inline: 14px;
  }

  .section-title > div,
  .about-content h2,
  .service-heading,
  .applications-copy > h3,
  .team-intro h3,
  .faq-guide h3 {
    font-size: 1.16rem !important;
  }

  .hero h1 {
    font-size: 1.05rem !important;
  }

  .hero-mobile-visual img {
    width: min(74vw, 260px) !important;
  }

  .about-image {
    width: min(80vw, 270px) !important;
  }

  .applications-visual img {
    width: min(80vw, 275px) !important;
  }

  .feature-item,
  .service-card,
  .step-item {
    padding: 19px 15px !important;
  }

  .team-role-visual {
    max-height: 140px;
  }

  .faq-question-text {
    font-size: 0.88rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
/* Desktop alignment and equal-height visual pairs — 20260903 */
@media (min-width: 992px) {
  .section-title {
    width: 100%;
  }

  .section-title > h2,
  .section-title > h3,
  .section-title > div,
  .hero-h1,
  .hero h1 {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  #hero .row.align-items-center,
  #about .row.gx-5.align-items-center,
  #applications .applications-layout.align-items-center {
    align-items: stretch !important;
  }

  #hero .content-col,
  #hero .hero-desktop-visual,
  #about .row.gx-5.align-items-center > .col-lg-6,
  #applications .applications-layout > .col-lg-6 {
    display: flex;
    min-height: 100%;
  }

  #hero .content,
  #hero .visual-content,
  #about .about-image,
  #about .about-content,
  #applications .applications-visual,
  #applications .applications-copy {
    width: 100%;
    height: 100%;
  }

  #hero .visual-content,
  #hero .fluid-shape,
  #applications .applications-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #hero .fluid-shape {
    height: 100%;
  }

  #hero .fluid-img,
  #applications .applications-visual img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  #about .about-image {
    aspect-ratio: auto;
  }

  #about .about-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #about .about-content,
  #applications .applications-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Final hero rhythm and professional application-section balance — 20260903 */
@media (min-width: 1200px) {
  #hero {
    padding-top: 158px;
    padding-bottom: 72px;
  }

  #hero .hero-h1 {
    margin-bottom: 24px;
  }

  #hero h1 {
    max-width: 740px;
    font-size: clamp(1.55rem, 2.05vw, 2.15rem);
    font-weight: 500;
    line-height: 1.3;
  }

  #hero h1 .highlight {
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #hero {
    padding-top: 145px;
  }

  #hero h1 {
    max-width: 590px;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.34;
  }
}

@media (min-width: 992px) {
  #applications .applications-layout {
    --bs-gutter-x: clamp(38px, 4.5vw, 68px);
    align-items: stretch !important;
  }

  #applications .applications-layout > .col-lg-6 {
    display: flex;
    align-items: stretch;
  }

  #applications .applications-visual {
    position: relative;
    isolation: isolate;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(54, 142, 205, 0.2);
    border-radius: 22px;
  }

  #applications .applications-visual img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  #applications .applications-visual-badge {
    z-index: 2;
  }

  #applications .applications-copy {
    justify-content: center;
    padding-block: 8px;
  }
}

@media (max-width: 767.98px) {
  #hero {
    padding-top: 132px;
  }

  #hero .hero-h1 {
    margin-bottom: 17px;
  }

  #hero h1 {
    width: 100%;
    max-width: 22rem;
    font-size: clamp(1rem, 4.1vw, 1.14rem) !important;
    font-weight: 500;
    line-height: 1.46;
  }

  #hero h1 .highlight {
    font-weight: 500;
  }
}
