/** @format */

:root {
  --green: #84c600;
  --deep: #17651c;
  --text: #333;
  --outer: 1400px;
  --inner: 1050px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}
body {
  font-size: 16px;
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
.top {
  height: 64px;
  background: #f5f6f6;
  color: #666;
  font-size: 12px;
}
.inner {
  width: min(var(--inner), calc(100% - 40px));
  margin: auto;
}
.content {
  width: min(var(--outer), 100%);
  margin: auto;
}
.top .inner,
.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.hours {
  text-align: right;
  line-height: 1.65;
  font-weight: 600;
  font-size: 11px;
}
.header {
  height: 66px;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: relative;
  z-index: 20;
}
.logo img {
  display: block;
  width: 112px;
  height: auto;
}
.nav {
  display: flex;
  height: 100%;
  align-items: stretch;
}
.nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #999;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.nav a.active,
.nav a:hover {
  background: var(--green);
  color: #fff;
}
.nav .tv {
  padding: 0 15px;
}
.nav .tv:hover {
  background: #fff;
}
.nav .tv img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.burger {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.hero {
  aspect-ratio: 1886/814;
  margin: auto;
  position: relative;
  overflow: hidden;
  background: #eee;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 0.8s ease,
    transform 6s ease;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
.dots {
  position: absolute;
  bottom: 28px;
  right: 19%;
  display: flex;
  gap: 9px;
  z-index: 2;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #777;
}
.dot.active {
  background: var(--green);
}
.home-grid {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  min-height: 410px;
}
.panel {
  padding: 70px 45px 50px;
}
.panel.gray {
  background: #9c9c9c;
}
.panel.green {
  background: var(--green);
}
.panel.deep {
  background: var(--deep);
}
.panel h2 {
  font-size: 22px;
  margin: 0 0 30px;
  line-height: 1.25;
}
.panel h3 {
  font-size: 20px;
  margin: 35px 0 14px;
}
.panel p,
.panel li {
  font-size: 13px;
  line-height: 1.55;
}
.panel ul {
  padding-left: 18px;
  margin: 10px 0;
}
.video-wrap {
  width: min(840px, calc(100% - 40px));
  margin: 45px auto;
}
.video-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.company {
  min-height: 200px;
  margin: 0 auto;
  padding: 70px max(60px, calc((100% - var(--inner)) / 2));
  background: url("images/company-bg.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
}
.company:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}
.company > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.company h2 {
  font-size: 28px;
  margin: 0 0 28px;
}
.company p {
  font-size: 16px;
  line-height: 1.75;
  margin: 12px 0;
}
.contact-cards {
  background: #f2f2f2;
  padding: 26px 0;
}
.contact-grid {
  width: min(820px, calc(100% - 40px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: #fff;
  min-height: 150px;
  padding: 20px;
  font-size: 12px;
  line-height: 1.75;
}
.card h3 {
  font-size: 15px;
  font-weight: normal;
  margin: 0 0 22px;
}
.footer-img {
  height: 250px;
  margin: auto;
  background: url("images/footer.png") center bottom/cover no-repeat;
}
/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.sol-text,
.sol-image {
  min-height: 525px;
}
.sol-text {
  padding: 75px 60px;
}
.sol-image {
  background-size: cover;
  background-position: center;
}
.accordion {
  border-left: 2px solid #ddd;
  padding-left: 35px;
}
.acc-item {
  position: relative;
  margin-bottom: 28px;
}
.acc-item:before {
  content: "";
  position: absolute;
  left: -43px;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d5d5d5;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}
.acc-item.open:before {
  border-color: var(--green);
  background: var(--green);
  box-shadow:
    inset 0 0 0 3px #fff,
    0 0 0 2px #fff;
}
.acc-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  line-height: 1.25;
}
.acc-title span {
  color: #ccc;
  font-size: 26px;
  transition: transform 0.35s ease;
}
.acc-item.open .acc-title span {
  transform: rotate(0);
}
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    grid-template-rows 0.48s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s ease,
    transform 0.45s ease;
}
.acc-body-inner {
  overflow: hidden;
  padding-top: 0;
  line-height: 1.5;
  font-size: 16px;
  transition: padding-top 0.45s ease;
}
.acc-item.open .acc-body {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}
.acc-item.open .acc-body-inner {
  padding-top: 28px;
}
.acc-body a {
  color: var(--green);
  text-decoration: none;
}
/* Partners */
.partners-section {
  padding: 52px 0;
  min-height: 310px;
}
.partners-section.alt {
  background: #eee;
}
.partners-inner {
  width: min(1160px, calc(100% - 80px));
  margin: auto;
}
.partners-inner h2 {
  font-size: 25px;
  font-weight: normal;
  margin: 0 0 65px;
}
.logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px 55px;
}
.logos img {
  max-width: 175px;
  max-height: 125px;
  object-fit: contain;
}
/* Cloud */
.hosting-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 62px 100px 76px;
}
.hosting-intro h1 {
  font-size: 28px;
  line-height: 1.25;
  color: var(--green);
  font-weight: normal;
  max-width: 900px;
  margin: 0;
}
.hosting-intro img {
  width: 170px;
}
.plans {
  background: #f2f2f2;
  padding: 48px 70px 58px;
  text-align: center;
}
.plans h2,
.setup h2 {
  font-size: 25px;
  font-weight: normal;
}
.plans table {
  border-collapse: collapse;
  margin: 55px auto 18px;
  width: min(1015px, 100%);
  font-size: 15px;
}
.plans th {
  background: var(--green);
  color: #fff;
  padding: 11px;
  border: 1px solid #fff;
}
.plans td {
  border: 1px solid #ccc;
  padding: 10px;
}
.calc {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 13px 28px;
  text-decoration: none;
  margin-top: 22px;
}
.setup {
  text-align: center;
  padding: 45px 0 70px;
}
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  width: min(850px, calc(100% - 40px));
  margin: 35px auto;
}
.checklist {
  text-align: left;
  line-height: 2.5;
}
/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(2px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.8s ease;
}
.reveal.from-left {
  transform: translateX(-55px);
}
.reveal.from-right {
  transform: translateX(55px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
@media (max-width: 900px) {
  .top {
    height: auto;
    padding: 9px 0;
  }
  .top .inner {
    display: block;
    text-align: center;
  }
  .hours {
    text-align: center;
    margin-top: 4px;
  }
  .header {
    height: auto;
    min-height: 66px;
  }
  .header .inner {
    padding: 8px 0;
  }
  .burger {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    z-index: 30;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    height: auto;
    flex-direction: column;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 15px 24px;
  }
  .hero {
    aspect-ratio: 1886/814;
  }
  .home-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 42px 28px;
  }
  .sol-text,
  .sol-image {
    min-height: auto;
  }
  .sol-text {
    padding: 50px 30px;
  }
  .sol-image {
    min-height: 420px;
  }
  .hosting-intro {
    padding: 45px 30px;
  }
  .hosting-intro h1 {
    font-size: 22px;
  }
  .hosting-intro img {
    width: 110px;
  }
  .partners-inner {
    width: calc(100% - 40px);
  }
  .plans {
    padding: 38px 20px;
    overflow: auto;
  }
  .plans table {
    min-width: 850px;
  }
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .checklist {
    text-align: center;
  }
  .company {
    padding: 55px 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-img {
    height: 115px;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 14px;
  }
  .logo img {
    width: 100px;
  }
  .hero {
    min-height: 250px;
    aspect-ratio: auto;
  }
  .dots {
    right: 18px;
    bottom: 16px;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .partners-section {
    min-height: auto;
    padding: 40px 0;
  }
  .partners-inner h2 {
    font-size: 22px;
    margin-bottom: 38px;
  }
  .logos {
    gap: 28px;
  }
  .logos img {
    max-width: 135px;
    max-height: 90px;
  }
  .hosting-intro {
    align-items: flex-start;
  }
  .hosting-intro h1 {
    font-size: 19px;
  }
  .hosting-intro img {
    width: 80px;
  }
  .sol-image {
    min-height: 300px;
  }
  .acc-title {
    font-size: 18px;
  }
  .company h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slide,
  .reveal,
  .acc-body,
  .acc-body-inner,
  .acc-title span {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Textes et liens du carrousel d'accueil */
.hero-copy {
  position: absolute;
  z-index: 3;
  left: max(5%, calc((100% - var(--inner)) / 2));
  top: 50%;
  transform: translateY(-47%);
  color: #222;
  max-width: 520px;
  pointer-events: auto;
}
.hero-kicker {
  font-size: clamp(25px, 2.35vw, 42px);
  line-height: 1.15;
  font-weight: 300;
  margin-bottom: 8px;
}
.hero-title {
  color: #000;
  font-size: clamp(45px, 4.7vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 15px;
}
.hero-subtitle {
  font-size: clamp(18px, 1.55vw, 27px);
  line-height: 1.3;
  margin-bottom: 12px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  min-height: 50px;
  padding: 12px 25px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 2px;
  transition: transform .22s ease, filter .22s ease;
}
.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(.94);
}
.cloud-copy {
  left: max(3.8%, calc((100% - 1320px) / 2));
  top: 50%;
  max-width: 480px;
}
.cloud-copy .hero-title {
  margin-top: 10px;
}
.dot {
  border: 0;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 900px) {
  .hero-copy {
    left: 6%;
    max-width: 44%;
  }
  .hero-kicker { font-size: clamp(20px, 3.3vw, 31px); }
  .hero-title { font-size: clamp(36px, 6vw, 58px); }
  .hero-subtitle { font-size: clamp(15px, 2.5vw, 22px); }
  .hero-button { min-width: 150px; min-height: 43px; font-size: 13px; }
}
@media (max-width: 560px) {
  .hero {
    min-height: 330px;
  }
  .slide {
    background-position: 58% center;
  }
  .hero-copy,
  .cloud-copy {
    left: 22px;
    top: 52%;
    max-width: 63%;
    padding: 12px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(2px);
  }
  .hero-kicker { font-size: 18px; }
  .hero-title { font-size: 37px; }
  .hero-subtitle { font-size: 15px; }
  .hero-button { min-width: 138px; min-height: 40px; padding: 9px 16px; }
}
