@charset "UTF-8";
@import "../fonts/trumpsoftpro/stylesheet.css";
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap");
:root {
  --primary: #D3A13B;
  --secondary: #C33623;
  --tertiary: #1F1F1F;
  --quaternary: #27A1A8;
  --light-bg: #FAFAFA;
  --light-bg2: #fff;
  --text-color: #1F1F1F;
  --border-color: #e0e0e0;
  --page-bg: #f2f2f2;
  --black: #13100D;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: var(--page-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trump Soft Pro", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin: 1rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 4rem;
  margin-top: 3rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2.5rem;
}

a {
  color: var(--primary);
}

header {
  padding: 1rem 2rem;
  background-color: var(--black);
  display: flex;
  width: 100vw;
  justify-content: center;
  align-items: center;
}
header #menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  width: 100%;
}
header img {
  height: 3.5rem;
  max-width: 100%;
}
header a {
  color: white;
  text-decoration: none;
}
header ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
header ul li {
  list-style-type: none;
}

ul li {
  padding: 0 0.5em 0.25em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

ul li:hover, ul li.active {
  color: #fff;
}

ul li:before {
  content: "";
  position: absolute;
  inset: calc(100% - 2px) 0 0 0;
  background: var(--primary);
  scale: 0 1;
  transition: 0.3s, translate 0s 0.3s;
}

ul:hover li:before {
  scale: 1;
}

ul li:hover:before {
  translate: 0;
  transition: 0.3s;
}

ul:hover li:has(~ li:hover):before {
  translate: 100% 0;
  transition: 0.2s 0.2s, scale 0s 0.4s;
}

ul:hover li:hover ~ li:before {
  translate: -100% 0;
  transition: 0.2s 0.2s, scale 0s 0.4s;
}

ul li.active:before {
  scale: 1;
}

.secondary {
  color: var(--secondary);
}

.quaternary {
  color: var(--quaternary);
}

.a-logo {
  display: flex;
}

.fa-check {
  color: var(--primary);
  padding: 0 0.5rem;
}

.fa-xmark {
  color: var(--secondary);
  font-size: 1.3rem;
}

.color-h {
  color: var(--primary);
}

.mincap-h {
  text-transform: none;
  font-variant-caps: small-caps;
}

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

.table-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.comparison-table th {
  text-align: center;
  padding: 2rem 0.75rem;
  vertical-align: top;
  background-color: white;
}
.comparison-table th img {
  max-width: 6rem;
}
.comparison-table th p {
  font-style: italic;
  line-height: 1.4;
  font-size: 0.8rem;
}
.comparison-table th h3 {
  margin: 0.25rem;
}
.comparison-table th figure {
  height: 100px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-table th span {
  font-size: 2rem;
  font-weight: 800;
}

.rem4 {
  width: 4rem !important;
}

.rem8 {
  width: 8rem !important;
}

.comparison-table tbody {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 0;
}

.comparison-table td {
  padding: 12px 15px;
  vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--light-bg);
}

.comparison-table tr:nth-child(odd) {
  background-color: var(--light-bg2);
}

.category-header {
  background-color: white !important;
  font-weight: bold;
  font-size: 18px;
  color: var(--text-color);
  padding: 15px !important;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-name {
  font-weight: 500;
  padding-left: 2rem !important;
}

.check-mark {
  text-align: center;
  font-weight: bold;
}

.explication {
  text-align: center;
}

.small-text {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
}

.header-logo {
  text-align: center;
  margin-bottom: 20px;
}
.header-logo img {
  max-width: 200px;
  width: 100%;
}

.section-spacer {
  height: 15px;
}

.tarif {
  text-align: center;
}

.picto-text > * {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.feature-title i {
  color: var(--secondary);
}
.feature-title .tertiary i {
  color: var(--tertiary);
}
.feature-title .quaternary i {
  color: var(--quaternary);
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

@media screen and (min-width: 769px) {
  .table-container {
    overflow-x: visible;
  }
}
@media (max-width: 768px) {
  header {
    font-size: 0.8rem;
  }
  .category-header {
    font-size: 16px;
  }
  .table-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
  }
  .comparison-table {
    width: auto;
    table-layout: fixed;
    font-size: 0.9rem;
  }
  /* Première colonne fixe */
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    position: sticky;
    left: 0;
    min-width: 150px;
    z-index: 2;
  }
  .comparison-table th:first-child,
  .comparison-table td:first-child:not(.category-header) {
    box-shadow: 2px 0 3px -1px rgba(0, 0, 0, 0.05);
  }
  .comparison-table tr:nth-child(even) td:first-child {
    background-color: var(--light-bg);
  }
  .comparison-table tr:nth-child(odd) td:first-child {
    background-color: var(--light-bg2);
  }
  .comparison-table td.category-header {
    background-color: white !important;
  }
  .comparison-table th:not(:first-child),
  .comparison-table td:not(:first-child) {
    min-width: 50% !important;
  }
  .comparison-table td {
    padding: 8px 10px;
  }
  .small-text {
    font-size: 0.7rem;
  }
}
