/* style.css pour la page d'accueil Publisigma47 */

:root {
  --brand-blue: #0a72ff;
  --site-width: 80vw;
  --site-max: 1200px;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'montserrat', Arial, sans-serif;
  background: #fff;
  color: #111;
  position: relative;
  min-height: 100vh;
}
.li {
  font-weight: 100;
}
.nav-toggle {
  display: none;
}

    
    /* Image de fond discrète (watermark) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('images/newyork.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.08;
  filter: grayscale(1) contrast(0.9) brightness(0.88);
  pointer-events: none;
  z-index: 0;
}
a {
  text-decoration: none;
  color: inherit;
  padding-bottom: 2px;
  background-image: linear-gradient(#889bc3, #889bc3);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}
.service-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.service-card {
  position: relative;
  flex: 1;
  background: var(--surface-1, #f7f5f0);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  cursor: pointer;
  height: 160px;
  min-width: 0;
  overflow: hidden;
  transition: flex 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s ease, background 0.3s ease;
}
.service-card:hover {
  flex: 2;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10,114,255,0.12);
}
.service-row:hover .service-card:not(:hover) {
  flex: 0.7;
}

.service-icon-col {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10,114,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 0.4s cubic-bezier(.4,0,.2,1), left 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-icon-col {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.service-icon-col svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-blue);
  fill: none;
  stroke-width: 1.8;
}

.service-text-col {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 78px 12px 12px;
  transition: padding 0.4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-text-col {
  align-items: flex-start;
  text-align: left;
  padding: 14px 16px 14px 82px;
}

.card .service-text-col h3,
.service-text-col h3 {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.service-text-col .desc {
  font-size: 12.5px;
  color: #6b6b68;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 720px) {
  .service-row { flex-direction: column; }
  .service-card { flex: 1 !important; height: auto; min-height: 100px; }
  .service-icon-col { position: static; transform: none; margin: 0 auto 8px; }
  .service-text-col {
    position: static;
    padding: 12px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .service-text-col .desc { -webkit-line-clamp: unset; }
}
a:hover {
  background-size: 100% 2px;
}
.header {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}
.header-blob {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-left: auto;
  margin-top: -20px;
  margin-bottom: -20px;
  margin-right: -16px;
  flex-shrink: 0;
  padding: 0 20px;
  background: #889bc3;
  border-radius: 35px 0 0 35px / 100% 0 0 100%;
}
.menu-toggle {
  display: none;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 1;
  min-width: 0;
}
.logo {
  display: flex;
  justify-content: center;   /* centre l'image horizontalement dans son emplacement */
  align-items: center;
  width: 160px;               /* définit la largeur de "l'emplacement" du logo */
  height: 120px;
}
.logo-text {
  display: flex;
  align-items: center;
}


.logo img {
  height: clamp(60px, 10vw, 110px);
  width: auto;
  display: block;
}

.logo-text img,
.logo-image {
  height:  clamp(45px, 8vw, 90px);
  width: auto;
  display: block;
}

.header-center {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: clamp(0.55rem, 0.85vw, 0.78rem);
  font-weight: 300;
  line-height: 1.4;
  text-align: right;
  padding: 16px 0;
}

.header-center ul {
  margin: 0;
  padding-left: 0px;
  list-style: none;
  display: grid;
  gap: 4px;
  color: #f2eeee;
}

.header-center li {
  margin: 0;
  padding: 0;
}

.nav-wrap {
  width: 100%;
  max-width: 100%;
  margin: 12px auto 24px;
  padding: 0 40px;
  position: relative;
  z-index: 0;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: none;
  position: relative;
}

.nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  max-width: 100%;
  width: 100%;
  margin: 20px auto 40px;
  padding: 0 0px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0 0 18px;
  line-height: 1.05;
  text-decoration: underline;
  text-decoration-color: var(--brand-blue);
  text-decoration-thickness: 0.01em;
  text-underline-offset: 0.2em;
}
.hero h2{
  font-size: 2.0rem;
  font-weight: 400;
  margin: 0 0 18px;
}
.hero h3{
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0 0 18px;
}
.hero p {
  font-size: 1.05rem;
  color: #555;
  font-weight: 200;
  max-width: 680px;
  width: 100%;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cta {
  display: inline-flex;
  padding: 12px 26px;
  background: #889bc3;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10,114,255,0.16);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.cta:hover {
  background: #4a9bff; /* nuance nettement plus claire que ton bleu de base */
  box-shadow: 0 10px 24px rgba(10,114,255,0.32);
}
.nav a:hover {
  color: var(--brand-blue);
}

@media (max-width: 720px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px;
    overflow: hidden;
  }
    .logo-text {
    position: static;
    transform: none;
    max-width: calc(100% - 30px);
  }
  .logo,
  .logo-text {
    width: 100%;
    justify-content: center;
    padding: 0;
    border: none;
  }

  .logo-text {
    margin-left: 0;
    height: auto;
    max-width: calc(100% - 30px);
    width: auto;
    font-size: clamp(0.6rem, 3vw, 0.9rem);
    padding: 0 10px;
  }
.logo-group {
  flex-direction: column;
  gap: 4px;
}
  .menu-toggle {
    display: flex;
  }

  .logo {
    border-right: none;
  }

  .logo a {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }




  .logo-text {
    height: auto;
  }

  .nav-wrap {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    width: auto;
    max-width: calc(100% - 36px);
    margin: 0;
    z-index: 99998;
  }

  .nav {
    display: none;
    width: 100%;
    position: relative;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 16px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 34px rgba(0,0,0,0.12);
    z-index: 99999;
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: center;
  }

  .nav a:first-child {
    border-top: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  .menu-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: #333;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle:checked ~ .header .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked ~ .header .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .header .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .nav-wrap .nav,
  .nav-toggle:checked + .header + .nav-wrap .nav,
  #nav-toggle:checked ~ .nav-wrap .nav {
    display: flex;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
  .hero h2 {
    font-size: 0.75rem;
  }

  .hero {
    margin-top: 40px;
}
.header-blob {
  display: none;
}
}
/* Layout deux colonnes et encadrés semi-transparents */
.columns {
  display: grid;
  grid-template-columns: minmax(260px, 75%) repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.card {
  background: rgba(245,241,235,1);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(12,18,24,0.06);

}

.card ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  align-items: flex-start;  
}

.card ul li {
  display: flex;
  align-items: left;
  gap: 10px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 300;
}

.card ul li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230a72ff' d='M9.5 16.2l-3.8-3.8 1.4-1.4 2.4 2.4 6.8-6.8 1.4 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .hero {
    max-width: 100%;
    padding: 0 0px;
  }

 .columns {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
  } 

  .site-base {
    width: 90vw;
  }
  
}

@media (max-width: 920px) {
  .site-base {
    width: 95vw;
  }
}

@media (max-width: 880px) {
  .hero {
    margin: 24px auto;
  }
}

/* ===== Footer global (bloc unique, propre) ===== */
.footer {
  position: relative;
  background: #889bc3;
  padding: 10px 12px;
  margin-top: 20px;
  border-radius: 0 0 12px 12px;
  color: #fff;
  font-size: 0.9rem;
}

/* Blob décoratif du footer */
.blob {
  position: absolute;
  top: -180px;
  right: -320px;
  width: 1000px;
  height: 1000px;
  background: #0a72ff;
  opacity: 0.15;
  border-radius: 42%;
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  align-items: start;
}
.footer-col {
  padding: 0 12px;
  overflow-wrap: break-word;
}

/* Visible separators between columns */
.footer-col + .footer-col { border-left: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
  font-weight:600;
}
.footer-col p, .footer-col li {
  color: #dfe6f0;
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 2px 0;
}
.footer-col a {
  color: #dfe6f0;
  text-decoration: none;
}

/* Site base: rounded panel with blue stroke, centered */
.site-base {
  width: var(--site-width);
  max-width: var(--site-max);
  margin: 20px auto;
  background: #fff;
  border: 2px solid var(--brand-blue);
  border-radius: 14px;
  padding: 18px 24px 22px;
  box-shadow: 0 6px 18px rgba(10,114,255,0.04);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.footer-col ul { list-style: none; padding: 0; margin: 4px 0 0 0; }
.footer-bottom {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 8px auto 0;
  padding: 4px 12px;
  color: #a8b6cc;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 720px) {
  .footer-inner { padding: 0 12px; grid-template-columns: 1fr; }
  .footer { padding: 18px 12px; }
  .footer-col + .footer-col { border-left: none; }
  
}

/* Icones sociales monochromes */
.social-link { display:none !important; }
