/*
Theme Name: Seenexa
Theme URI: https://seenexa.com
Author: Jean-Philippe CAETANO
Version: 1.0
Description: Custom theme for Seenexa landing page.
*/

/* ====== GLOBAL ====== */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #0a0a0a;
  background-color: #fff;
}

h1, h2, h3 {
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

p {
  font-weight: 400;
  line-height: 1.6;
  color: #2a2a2a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ====== HEADER FIX ====== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
  display: block;
}

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #dbe3ff;
}

.btn-contact {
  background: #0045ff;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.btn-contact:hover {
  background: #0033cc;
}


/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  width: 100%;
  height: 680px; /* hauteur augmentée pour inclure toute la géométrie */
  background: url('assets/img/fond-header.png') no-repeat center top;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Zone du texte */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1rem;
  margin-top: 60px; /* ajuste le placement vertical du texte */
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
  color: #e2e8f0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Ajustements responsive */
@media (max-width: 992px) {
  .hero {
    height: 520px;
    background-position: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }
}


/* ====== A PROPOS ====== */
.a-propos-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.a-propos-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.a-propos-description {
  font-size: clamp(14px, 2vw, 16px);
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.a-propos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.a-propos-tags .tag {
  background: rgba(24, 91, 235, 0.1);
  /* color: #185BEB; */
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-block;
}

.a-propos-image-container {
  margin: 60px 0 40px;
}

.a-propos-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.a-propos-cta {
  margin-top: 40px;
}

.a-propos-button {
  display: inline-block;
  background: #0A1F44;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.a-propos-button:hover {
  background: #15294d;
}

/* Responsive */
@media (max-width: 768px) {
  .a-propos-section {
    padding: 40px 15px;
  }
  
  .a-propos-tags {
    gap: 10px;
    margin-bottom: 40px;
  }
  
  .a-propos-tags .tag {
    padding: 10px 18px;
    font-size: 12px;
  }

  .a-propos-image-container {
    margin: 40px 0 30px;
  }

  .a-propos-button {
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .a-propos-tags .tag {
    font-size: 11px;
    padding: 8px 15px;
  }

  .a-propos-button {
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* ====== SOLUTIONS SECTION ====== */

.solutions-wrapper {
  background-color: #f5f5f5;
  width: 100%;
}

.solutions-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.solutions-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #0A1F44;
  line-height: 1.2;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
}

.solutions-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
}

.solution-card {
  padding: 40px 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  max-width: 380px;
  min-height: 500px;
}

.card-dark {
  background: #0A1F44;
  color: #ffffff;
}

.card-blue {
  background: #185BEB;
  color: #ffffff;
}

.card-light {
  background: rgba(24, 91, 235, 0.1);
  color: #0A1F44;
}

.card-logo {
  margin-bottom: 30px;
}

.card-logo img {
  max-width: 200px;
  height: auto;
}

.card-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.3;
}

.card-description {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.card-image {
  margin-top: auto;
  text-align: center;
}

.card-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.solutions-footer {
  text-align: center;
  font-size: clamp(14px, 1.5vw, 16px);
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* Section 4 Étapes */
.etapes-section {
  background-color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

.etapes-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.etapes-main-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #0A1F44;
  line-height: 1.2;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
  padding: 30px 20px;
}

.etapes-content {
  background-image: url('/wp-content/themes/Seenexa/assets/img/steps-fond.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* Si l'image ne charge pas, utilise ce fallback en attendant */
.etapes-content {
  background: linear-gradient(135deg, #185BEB 0%, #185BEB 50%, #0A1F44 50%, #0A1F44 100%);
}

.etapes-header {
  margin-bottom: 50px;
}

.etapes-subtitle {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 600px;
}

.etapes-steps {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

.etape-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px 20px;
  flex: 0 0 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
}

.etape-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #185BEB;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.etape-number svg {
  color: #185BEB;
  flex-shrink: 0;
}

.etape-title {
  font-size: 16px;
  font-weight: 900;
  color: #0A1F44;
  margin-bottom: 15px;
  line-height: 1.3;
}

.etape-description {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .solutions-section {
    padding: 60px 15px;
  }

  .solutions-title {
    margin-bottom: 40px;
  }

  .solutions-cards {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .solution-card {
    max-width: 100%;
    min-height: auto;
    padding: 30px 20px;
  }

  .etapes-section {
    padding: 60px 0;
  }

  .etapes-main-title {
    margin-bottom: 40px;
    padding: 20px 15px;
  }

  .etapes-content {
    padding: 40px 20px;
  }

  .etapes-steps {
    flex-direction: column;
    gap: 20px;
    overflow-x: visible;
  }

  .etape-card {
    flex: 1 1 auto;
    min-width: 100%;
  }
}

/* ====== RESSOURCES SECTION ====== */
.ressources-wrapper {
  background-color: #ffffff;
  width: 100%;
  padding: 80px 0;
}

.ressources-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.ressources-content {
  background: linear-gradient(90deg, #0A1F44 0%, #0A1F44 40%, #185BEB 40%, #185BEB 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.ressources-text {
  flex: 0 0 45%;
  padding: 60px 50px;
  z-index: 2;
}

.ressources-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.ressources-logo {
  display: inline-block;
}

.ressources-logo img {
  max-width: 120px;
  height: auto;
  /* Filtre enlevé pour garder les couleurs originales */
}

.ressources-image {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ressources-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 968px) {
  .ressources-content {
    flex-direction: column;
    min-height: auto;
  }

  .ressources-text {
    flex: 1 1 auto;
    width: 100%;
    padding: 40px 30px;
  }

  .ressources-image {
    flex: 1 1 auto;
    width: 100%;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .ressources-wrapper {
    padding: 60px 0;
  }

  .ressources-text {
    padding: 30px 20px;
  }

  .ressources-title {
    margin-bottom: 30px;
  }

  .ressources-logo img {
    max-width: 100px;
  }
}

/* ====== CARROUSEL ====== */

.benefices-wrapper {
  background-color: #ffffff;
  width: 100%;
  padding: 80px 0;
}

.benefices-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.benefices-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #0A1F44;
  line-height: 1.2;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
}

.carrousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carrousel-wrapper {
  overflow: hidden;
  flex: 1;
}

.carrousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.benefice-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.benefice-card:hover {
  transform: translateY(-5px);
}

.benefice-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.benefice-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #185BEB;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.benefice-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 31, 68, 0.9);
  color: #ffffff;
  padding: 25px 20px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0;
}

.carrousel-btn {
  background: #185BEB;
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.carrousel-btn:hover {
  background: #0A1F44;
}

.carrousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carrousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carrousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carrousel-dot.active {
  background: #185BEB;
}

/* Responsive */
@media (max-width: 1024px) {
  .benefice-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .benefices-wrapper {
    padding: 60px 0;
  }
  
  .benefices-title {
    margin-bottom: 40px;
  }
  
  .carrousel-container {
    gap: 10px;
  }
  
  .carrousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .benefice-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .benefice-image {
    height: 300px;
  }
  
  .benefice-card-title {
    font-size: 14px;
    padding: 20px 15px;
  }
}

/* ====== FAQ ====== */

.faq-wrapper {
  background-color: #f5f5f5;
  width: 100%;
  padding: 80px 0;
}

.faq-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  margin-bottom: 60px;
}

.faq-title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: #0A1F44;
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.faq-subtitle {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: #0A1F44;
  text-transform: uppercase;
  margin: 0;
}

.faq-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 2px solid #d0d0d0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: #0A1F44;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #185BEB;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: #0A1F44;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #185BEB;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 25px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
}

.faq-cta {
  position: sticky;
  top: 100px;
}

.faq-button {
  display: inline-block;
  background: #0A1F44;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.faq-button:hover {
  background: #185BEB;
}

/* Responsive */
@media (max-width: 968px) {
  .faq-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
  }

  .faq-items {
    grid-row: 1;
  }

  .faq-cta {
    position: static;
    grid-row: 2;
    text-align: left;
  }

  .faq-button {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .faq-wrapper {
    padding: 60px 0;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-title {
    font-size: 48px;
  }

  .faq-subtitle {
    font-size: 24px;
  }

  .faq-question {
    padding: 20px 0;
    font-size: 15px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-button {
    padding: 14px 28px;
    font-size: 14px;
  }
}

/* ====== FOOTER ====== */
.footer-wrapper {
  background-image: url('/wp-content/themes/Seenexa/assets/img/fond-footer.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.footer-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 30px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-email {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-address {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 20px 20px;
  }

  .footer-content {
    margin-bottom: 30px;
  }

  .footer-logo img {
    max-width: 150px;
  }
}