/* =============================================
   GLOBAL STYLES
   ============================================= */

/* Typography — shared classes */
.t-body {
  font-weight: var(--font-weight-regular);
  font-size: clamp(1rem, 1.25vw, 1.125rem); /* ~18px desktop */
  line-height: 1.5rem; /* 24px */
  letter-spacing: 0.18px;
}

.t-body-bold {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.5rem;
  letter-spacing: 0.18px;
}

.t-small {
  font-weight: var(--font-weight-regular);
  font-size: clamp(0.85rem, 1.1vw, 1rem); /* ~16px desktop */
  line-height: 1.5rem; /* 24px */
  letter-spacing: 0.16px;
}

.t-h2 {
  font-weight: var(--font-weight-medium);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--color-dark-navy);
  margin-bottom: 25px;
}

.t-h3 {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem); /* ~20px desktop */
  letter-spacing: 0.2px;
}

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

/* Section title banners (teal bordered) */
.section-title-banner {
  display: inline-block;
  border: 10px solid var(--color-teal);
  padding: 40px 50px;
  position: relative;
  z-index: 2;
}

.section-title-banner h2 {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 16px 36px;
  transition: opacity var(--transition-default), transform var(--transition-default);
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn--pink {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.btn--teal {
  background-color: var(--color-teal);
  color: var(--color-dark-navy);
}

.btn--outline {
  border: 2px solid var(--color-pink);
  color: var(--color-pink);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background-color: var(--color-header-navy);
  padding: 12px var(--padding-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
}

.header__logo img {
  height: 51px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.header__nav a {
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  color: var(--color-white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition-default);
}

.header__nav a:hover {
  color: var(--color-teal);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.header__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-default);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: var(--color-dark-navy);
  padding: 16px var(--padding-page);
  text-align: center;
}

.footer__link {
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  color: var(--color-white);
  letter-spacing: 0.14px;
  opacity: 0.5;
  transition: opacity var(--transition-default);
  margin-bottom: 6px;
  display: inline-block;
}

.footer__link:hover {
  opacity: 0.85;
}

.footer p {
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  color: var(--color-white);
  letter-spacing: 0.14px;
  opacity: 0.7;
}

/* =============================================
   LEGAL PAGE (mentions légales)
   ============================================= */
.legal {
  padding: 60px 15%;
}

.legal__title {
  margin-top: 40px;
}

.legal__title:first-child {
  margin-top: 0;
}

.legal__text {
  margin-bottom: 15px;
}

.legal__text a {
  color: var(--color-pink);
  text-decoration: underline;
  font-weight: var(--font-weight-bold);
}

.legal__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal__list li {
  margin-bottom: 10px;
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
  padding: 80px var(--padding-page);
}

.section--with-banner {
  position: relative;
}

.section__banner-wrapper {
  background-color: var(--color-white);
  text-align: center;
  padding: 60px 0 0;
}

.section__banner-inner {
  display: inline-block;
  transform: translateY(30%);
  position: relative;
  z-index: 2;
}

/* Dark content block (shared by applications, products, about, etc.) */
.section__dark-content {
  background-color: var(--color-dark-blue-grey);
  padding: 120px var(--padding-page) 80px;
}

.section__cta {
  text-align: center;
}

.section__intro {
  margin-bottom: 60px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background-color: var(--color-header-navy);
  padding: clamp(60px, 10vw, 120px) var(--padding-page);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 60%;
}

.hero__title {
  font-weight: var(--font-weight-bold);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 30px;
}

.hero__subtitle {
  color: var(--color-white);
  margin-bottom: 40px;
  opacity: 0.85;
}

.hero .btn {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  padding: 20px 40px;
}

/* =============================================
   APPLICATIONS
   ============================================= */
.applications__cards {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 5vw, 80px);
}

.applications__card {
  text-align: center;
  flex: 1;
  max-width: 330px;
}

.applications__card-icon {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--color-white);
  margin-bottom: 20px;
}

.applications__card-title {
  margin-bottom: 15px;
}

.applications__card-desc {
  margin-bottom: 25px;
}

.applications__card .btn {
  font-size: 0.8rem;
  padding: 12px 30px;
}

/* =============================================
   OUR PRODUCTS
   ============================================= */
.products__desc {
  margin-bottom: 60px;
}

.products__grid {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: 60px;
}

.products__item {
  text-align: center;
  flex: 1;
  max-width: 400px;
}

.products__item-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.25);
  margin-bottom: 25px;
}

.products__item-title {
  margin-bottom: 12px;
}

/* =============================================
   ABOUT US (home)
   ============================================= */
.about__tech {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: 60px;
}

.about__tech-text {
  flex: 1;
}

.about__tech-title {
  margin-bottom: 25px;
}

.about__tech-desc {
  margin-bottom: 20px;
}

.about__tech-img {
  flex: 1;
  max-width: 50%;
}

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

/* =============================================
   ABOUT US (page)
   ============================================= */
.about-vision {
  margin: 80px 10% 0;
}

.about-vision__title {
  text-align: center;
}

.about-vision__text {
  text-align: center;
  margin-bottom: 20px;
}

.about-vision__tech {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  margin-top: 60px;
}

.about-vision__video {
  width: 40%;
  aspect-ratio: 16 / 9;
}

.about-vision__video video {
  width: 100%;
  height: 100%;
  display: block;
  background-color: #D9D9D9;
  object-fit: cover;
}

.about-vision__tech-text {
  width: 50%;
}

.about-vision__tech-title {
}

.about-vision__tech-text p {
  margin-bottom: 20px;
}

/* About — brand section */
.about-brand__content {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: 80px 10% 0;
}

.about-brand__text {
  width: 45%;
}

.about-brand__video {
  width: 45%;
  aspect-ratio: 16 / 9;
}

.about-brand__video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* About — advantages section */
.about-advantages__content {
  padding-top: 80px;
}

/* =============================================
   CONTACT US (page)
   ============================================= */
.contact-page {
  padding: 60px 15% 0;
}

.contact-page__intro {
  margin-bottom: 50px;
}

.contact-page__intro p {
  margin-bottom: 20px;
}

.contact-page__link {
  text-decoration: underline;
  font-weight: var(--font-weight-bold);
}

/* Find us */
.find-us__banner {
  text-align: left;
  padding-bottom: 30px;
}

.find-us__content {
  display: flex;
  align-items: stretch;
  padding-top: 40px;
}

.find-us__map {
  width: 50%;
}

.find-us__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

.find-us__info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(40px, 5vw, 80px);
}

.find-us__title {
}

.find-us__info p {
  margin-bottom: 15px;
}

.find-us__link {
  text-decoration: underline;
  font-weight: var(--font-weight-bold);
}

.contact-page__form .contact__submit .btn {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
}

/* =============================================
   FORM MESSAGES (success / error feedback)
   ============================================= */
.form-message {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: center;
}

.form-message--success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message--error {
  background-color: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* =============================================
   CONTACT US (HOME)
   ============================================= */
.contact__wrapper {
  position: relative;
  padding-bottom: 80px;
}

/* Dark bg — starts lower, doesn't span full width */
.contact__wrapper::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  width: 90%;
  bottom: 0;
  background-color: var(--color-dark-blue-grey);
  z-index: 0;
}

/* Grey form card — overlaps the dark bg */
.contact__form-container {
  position: relative;
  z-index: 1;
  background-color: #F4F4F4;
  margin-left: 10%;
  padding: 80px clamp(60px, 8vw, 120px) 80px;
}

.contact__subtitle {
  text-align: center;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  margin-bottom: 40px;
}

.contact__form {
  max-width: 100%;
  margin: 0 auto;
}

.contact__field {
  margin-bottom: 20px;
}

.contact__field label {
  display: block;
  font-weight: var(--font-weight-regular);
  font-size: 1rem;
  color: #616161;
  margin-bottom: 8px;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #CBC5C5;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-dark-navy);
  transition: border-color var(--transition-default);
}

.contact__field input {
  height: 50px;
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--color-teal);
  outline: none;
}

.contact__field textarea {
  min-height: 164px;
  resize: vertical;
}

.contact__submit {
  margin-top: 30px;
}

.contact__submit .btn {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background-color: var(--color-dark-navy);
  padding: 50px var(--padding-page) 60px;
}

.page-hero__small {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.page-hero__title {
  font-weight: var(--font-weight-bold);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.1;
}

/* Page hero with background image */
.page-hero--image {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: clamp(60px, 10vw, 120px) var(--padding-page);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(4, 17, 47, 0.2);
  z-index: 1;
}

.page-hero--image > * {
  position: relative;
  z-index: 2;
}

.page-hero--image .page-hero__title {
  margin-bottom: 30px;
}

.page-hero__desc {
  color: var(--color-white);
  max-width: 900px;
  line-height: 2rem;
}

/* =============================================
   404 ERROR PAGE
   ============================================= */
.error-page {
  text-align: center;
  padding: 80px var(--padding-page);
}

.error-page__text {
  color: var(--color-dark-navy);
  margin-bottom: 30px;
}

/* =============================================
   PAGE SUBTITLE (inner pages)
   ============================================= */
.page-subtitle {
  background-color: var(--color-white);
  padding: 60px var(--padding-page);
  text-align: center;
}

.page-subtitle h2 {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--color-dark-navy);
  letter-spacing: 0.2px;
}

/* =============================================
   PAGE INTRO (subtitle + text block)
   ============================================= */
.page-intro {
  background-color: var(--color-white);
  margin: 80px 10%;
}

.page-intro__title {
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--color-dark-navy);
  letter-spacing: 0.2px;
  text-align: center;
  margin-bottom: 40px;
}

.page-intro__text {
  margin-bottom: 20px;
}

/* =============================================
   DETAIL ROWS (image + text in container)
   ============================================= */
.detail-rows {
  padding: 0 10%;
}

.detail-row {
  display: flex;
  align-items: stretch;
  gap: clamp(50px, 7vw, 120px);
  margin-bottom: 60px;
}

.detail-row--reverse {
  flex-direction: row-reverse;
}

.detail-row__img {
  width: 40%;
}

.detail-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-row__text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-row__title {
}

.detail-row__desc {
  margin-bottom: 30px;
}

.detail-row__list {
  list-style: disc;
  padding-left: 20px;
}

.detail-row__list li {
  margin-bottom: 15px;
}

.detail-rows .detail-row:last-child {
  margin-bottom: 0;
}

/* =============================================
   PRODUCT ROWS (text + image, natural ratio)
   ============================================= */
.product-rows {
  padding: 0 10%;
}

.product-row {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: 80px;
}

.product-row--reverse {
  flex-direction: row-reverse;
}

.product-row__text {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-row__img {
  width: 35%;
}

.product-row__img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.25);
}

.product-row__title {
}

.product-row__desc {
  margin-bottom: 30px;
}

.product-rows .product-row:last-child {
  margin-bottom: 0;
}

/* =============================================
   SERVICES (product page)
   ============================================= */
.services__content {
  background-color: #F1F1F1;
  padding: 80px 10%;
}

.services__row {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.services__img {
  width: 35%;
}

.services__img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.25);
}

.services__text {
  width: 55%;
}

.services__desc {
  margin-bottom: 20px;
}

/* =============================================
   APPLICATION ROWS (alternating text/image)
   ============================================= */
.application-row {
  display: flex;
  align-items: stretch;
}

.application-row--reverse {
  flex-direction: row-reverse;
}

.application-row__text {
  width: 50%;
  padding: clamp(40px, 5vw, 80px) var(--padding-page);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.application-row__title {
}

.application-row__desc {
  margin-bottom: 30px;
}

.application-row__img {
  width: 50%;
}

.application-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   CTA SECTION (inner pages)
   ============================================= */
.cta-section__wrapper {
  position: relative;
  padding-bottom: 80px;
}

.cta-section__wrapper::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  width: 95%;
  bottom: 0;
  background-color: var(--color-dark-blue-grey);
  z-index: 0;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  background-color: #EEEEEE;
  margin-left: 13%;
  padding: 60px clamp(40px, 5vw, 80px);
  text-align: center;
}

.cta-section__title {
  font-weight: var(--font-weight-bold);
  margin-bottom: 15px;
}

.cta-section__desc {
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   BLOG
   ============================================= */
/* Blog page */
.blog-page {
  padding: 60px 10% 0;
}

.blog-page__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 3vw, 40px);
}

.blog-page__card {
  width: calc((100% - 2 * clamp(30px, 3vw, 40px)) / 3);
}

.blog-page__card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.15);
}

.blog-page__card-title {
  text-transform: uppercase;
  color: var(--color-dark-navy);
  margin-bottom: 10px;
}

.blog-page__card-desc {
  margin-bottom: 15px;
}

.blog-page__card-link {
  font-weight: var(--font-weight-bold);
  color: var(--color-pink);
  text-decoration: underline;
}

/* Article detail */
.article {
  margin: 60px 15%;
}

.article__meta {
  margin-bottom: 40px;
}

.article__date {
  color: #616161;
}

.article__body p {
  margin-bottom: 20px;
}

.article__body h2 {
  margin-top: 40px;
}

.article__body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.article__body ul li {
  margin-bottom: 10px;
}

/* Blog home */
.blog__grid {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 60px;
}

.blog__card {
  flex: 1;
  max-width: 350px;
}

.blog__card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 3px solid var(--color-white);
  margin-bottom: 20px;
}

.blog__card-title {
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog__card-desc {
  margin-bottom: 15px;
}

