/********** common setting **********/
h2 {
    font-size: 2.8rem !important;
    font-weight: 700;
}

img {
    display: block;
    max-width: 100%;
}

video {
    width:100%;
    max-width:500px;
    border-radius:20px;
}

#text {
	font-weight: normal;
	font-size:18px;
}

a,
button {
    cursor: pointer;
}

#scrollUp
{
	position: fixed;
	bottom : 10px;
	right: -100px;
	opacity: 100;
}

.hide {
	display:none;
}

/********** Article mise en page **********/
.article {
    background: white;
    text-align:justify;
    width:auto;
    margin-right:15%;
    margin-left:15%;
    margin-top:100px;
    margin-bottom:50px;
}

.article-divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 15px auto;
    width: 100%;
}

.article-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.article-content p {
    margin-bottom: 1.2em;
}

.article-image-container {
    text-align: center;
    margin: 20px 0;
}

.article-image {
    max-width: 100%;
    height: 400px;
    display: block;
    margin: 0 auto;
}

/********** Grid articles **********/
.titre-grid {
	text-align:center;
	width:auto;
	color: #128ca7;
	margin-right:15%;
    	margin-left:15%;
    	margin-top:50px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card-content {
    padding: 15px;
}

.article-card-content span {
    color: #0066cc;
    font-weight: bold;
}

.article-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.article-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.article-card a {
    color: #0066cc;
    text-decoration: none;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #666;
}

.article-date {
    margin-right: 10px;
}

.article-date::before {
    content: "📅 ";
    margin-right: 3px;
}

/********** Legal mise en page **********/
.legal {
    background: white;
    text-align:justify;
    width:auto;
    margin-right:15%;
    margin-left:15%;
    margin-top:100px;
    margin-bottom:200px;
}

.legal a li {
    font-weight: bold;
    color:black;
}

.legal li {
    margin-left:5%;
}

.legal .li2 {
    margin-left:6%;
}

.legal h3 {
    margin-top:50px;
}

.legal h4 {
    margin-top:30px;
}

.legal .faq {
    background: #f86c5f;
    border-radius:20px;
    padding:20px;
    color:black;
}

.legal .faq:hover {
    background: #edd2a3;
    border-radius:20px;
    padding:20px;
    color:black;
    transition: .5s ease-in-out !important;
}

.jumbotron {
    margin-bottom: 0 !important;
}

.atlas-cta {
    border-radius: 22px !important;
    padding: 12px 30px !important;
    font-weight: 700;
    transition: .3s ease-in-out !important;
}	

.atlas-cta:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

.atlas-cta-wide {
    width: 100%;
}

.cta-cream {
    background: #edd2a3;
    color: #192440;
}

.cta-cream:hover {
    color: #ffffff;
    background: #192440;
}

.cta-gold {
    background: #ffffff;
    color: #192440;
}

.cta-gold:hover {
    color: #ffffff;
    background: #daa520;
}


.cta-blue {
    background: #edd2a3;
    color: #192440;
}

.cta-blue:hover {
    color: #ffffff;
    background: #192440;
}

.cta-ghost {
    border: 2px solid #192440 !important;
    color: #192440;
}

.cta-ghost:hover {
    color: #ffffff;
    background: #f86c5f;
}

#banner {
    background-size: cover;
}

/********** banner **********/
#banner header {
    overflow: hidden;
}

#banner header img {
    max-width: 80px;
}

/********** feature (skew background) **********/
.feature img {
    width: 100%;
    max-width: 300px;
}

#feature-first {
    background: linear-gradient(168deg, #ffffff 50%, #128ca7 0);
    color:black;
    text-shadow: 0 0 100px white;
}

#feature-second {
    background: #128ca7;
    color:white;
}

#feature-last {
    background: #128ca7;
    color:white;
}

#feature-third {
    background: linear-gradient(168deg, #128ca7 50%, #ffffff 0);
    color:black;
    text-shadow: 0 0 100px white;
}

#feature-opensource,
#feature-fakecall {
    background: #ffffff;
    color: black;
}

#text #social-media a {
    width: 40px;
    height: 40px;
    border-radius: 99%;
    background: #ffffff;
    transition: .4s ease;
}

#text #social-media a i {
    color: #128ca7;
    font-size: 1.2rem;
    line-height: 40px;
}

#text #social-media a:hover {
    background: #128ca7;
}

#text #social-media a:hover i {
    color: #ffffff;
}

#text ul {
    text-align:left;
}

/********** price table **********/
#price-table {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

#price-table ul {
	text-align:start;
	padding: 0px 20px 0px 40px
}

#price-table__basic {
    background: #edd2a3;
    color: #4e2700;
    border-radius:25px;
    font-size:18px;
}

#price-table__premium {
    background: #9e4f00;
    color: #edd2a3;
    border-radius:25px;
    font-size:18px;
}

#price-table__gold {
    background: #4e2700;
    color: #edd2a3;
    border-radius:25px;
    font-size:18px;
}

#price-table__incoming {
	margin:auto;
	background: #daa520;
	color: black;
	margin: auto;
	border-radius:25px;
	font-size:18px;
}

#price-table ul li {
    padding: 5px 0;
}

/********** interface **********/
/* Conteneur du slideshow */
.interface {
    width: 100%;
    height: 660px;
    background-color: #128ca7;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Slideshow */
#interface-slideshow {
    width: 100%;
    height: 660px;
    overflow: hidden;
    position: relative;
}

#interface-sContent {
    width: 4860px; /* 7 × 540px */
    height: 660px;
    animation: slide 42s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

#interface-sContent li {
    width: 540px;
    height: 660px;
    flex-shrink: 0;
}

#interface-sContent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@keyframes slide {
    0%, 10.5%      { transform: translateX(0); }          /* Slide 1 (0s à 4.41s) */
    12.5%, 23%     { transform: translateX(-540px); }     /* Slide 2 (5.25s à 9.66s) */
    25%, 35.5%     { transform: translateX(-1080px); }    /* Slide 3 (10.5s à 14.91s) */
    37.5%, 48%     { transform: translateX(-1620px); }    /* Slide 4 (15.75s à 20.16s) */
    50%, 60.5%     { transform: translateX(-2160px); }    /* Slide 5 (21s à 25.41s) */
    62.5%, 73%     { transform: translateX(-2700px); }    /* Slide 6 (26.25s à 30.66s) */
    75%, 85.5%     { transform: translateX(-3240px); }    /* Slide 7 (31.5s à 35.91s) */
    87.5%, 92%     { transform: translateX(-3780px); }    /* Slide 8 (36.75s à 38.64s) */
    93%, 100%      { transform: translateX(-4320px); }    /* Slide 9 (39.06s à 42s) → 5s de pause */
}

/********** reviews cards **********/
.reviews-section {
    background: #cccccc;
    padding: 36px 0;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    width: max-content;
    animation: scroll-reviews 55s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    width: 260px;
    flex-shrink: 0;
    margin: 0 15px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.11);
}

.review-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 12px;
    border: 3px solid #128ca7;
    display: block;
}

.review-stars {
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    font-style: italic;
    color: #444;
    line-height: 1.65;
    margin-bottom: 14px;
    min-height: 90px;
    overflow-wrap: break-word;
}

.review-author {
    font-weight: 700;
    color: #128ca7;
    font-size: 15px;
    margin: 0;
}

/* 10 cards × 290px (260 + 30 margin) = 2900px — seamless because 20 cards total */
@keyframes scroll-reviews {
    from { transform: translateX(0); }
    to   { transform: translateX(-2900px); }
}

/********** contact **********/
#contact {
    background-size: cover;
}

#contact ul li {
    padding: 3px 0;
    text-shadow: 1px 1px 2px black;
}

#contact ul li a:link {
    color:white;
}

#contact ul li a:visited {
    color:white;
}

#contact ul li a:hover {
    color:white;
}

#contact ul li a:active {
    color:white;
}

#contact form {
    color: #ffffff;
}

#contact form input,
#contact form textarea {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

/********** widgetbot **********/
#widgetbot {
	position:fixed;
	right:80px;
	bottom:200px;
	z-index:1000;
}

.discordbutton {
	position:fixed;
	right:20px;
	bottom:130px;
	z-index:1000;
	border-radius: 100%;
	border:6px solid #192440;
	color: transparent;
        text-shadow: 0 0 5px #192440;
	background-color:rgba(54, 25, 25, .00004);
	box-shadow: inset 0px 0px 20px #192440;
	font-size: 40px;
	font-weight: bold;
	padding-right:21px;
	padding-left:21px;
}
.discordbutton::before {
	border-radius: 100%;
	border: 6px solid white;
	position: absolute;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: all .3s ease-in-out 0s;
}

.discordbutton:hover {
	color: white;
	font-size: 40px;
	font-weight: bold;
  	padding-right:21px;
	padding-left:21px;
	background-color:#192440;
}

.discordbutton:hover:focus:active {
	color: white;
	text-shadow:none;
	box-shadow: none;
	background-color:#192440;
}
	
.discordbutton:hover::before {
	opacity: 1;
}

.discordbutton:focus {
	color: #192440;
	text-shadow:none;
	box-shadow: none;
	background-color:rgba(54, 25, 25, .00004);
}

.discordbutton:focus::before {
	opacity: 1;
}

.discordbutton::after {
	content: '';
	width: 30px; height: 30px;
	border-radius: 100%;
	border: 6px solid #192440;
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	color:white;
	transform: translate(-50%, -50%);
	animation: ring 1.5s infinite;
}

.discordbutton:focus::after {
	animation: none;
	display: none;
}

.discordbutton:active {
	color: white;
	text-shadow:none;
	box-shadow: none;
	background-color:#192440;
}

@keyframes ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: 150px;
    height: 150px;
    opacity: 0;
  }
}

/********** copyright **********/
#copyright {
    background:white;
    padding: 2rem 3rem;
    color:#f86c5f;
}

#copyright a:link {
    color:#f86c5f;
}

#copyright a:visited {
    color:#f86c5f;
}

#copyright a:hover {
    color:#f86c5f;
}

#copyright a:active {
    color:#f86c5f;
}

#copyright #social-media a {
    width: 40px;
    height: 40px;
    border-radius: 99%;
    background: #ffffff;
    transition: .4s ease;
}

#copyright #social-media a i {
    color: #f86c5f;
    font-size: 1.2rem;
    line-height: 40px;
}

#copyright #social-media a:hover {
    background: #f86c5f;
}

#copyright #social-media a:hover i {
    color: #ffffff;
}

/********** RWD **********/
@media (max-width: 575px) {
    #banner h1 {
        font-size: 3.6rem;
    }
}
