:root {
  --blue: #083D66;
  --dark-blue: #00063D;
  --turquoise: #078ead;
  --light-blue: #87C2E9;
  --white: #F6F6F6;
  --grey: #C7C7C7;
  --aqua: #43c5c8;
  --yellow: #FFC200;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Rajdhani", sans-serif;
  background: #eef6fd;
  color: var(--blue);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.material-symbols-outlined {
  font-size: inherit;
  line-height: 1;
}


/* HERO */

.hero {
  min-height: 760px;
  height: auto;
  position: relative;

  background-image:
    linear-gradient(90deg,
      rgba(0, 6, 61, 0.94) 0%,
      rgba(8, 61, 102, 0.78) 32%,
      rgba(8, 61, 102, 0.28) 60%,
      rgba(8, 61, 102, 0.05) 100%),
    url("images/Infinite_Cassis.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
}

.hero-content {
  width: min(720px, calc(100% - 60px));
  padding: clamp(28px, 4vw, 45px) 0 190px clamp(24px, 4vw, 50px);
}

.logo {
  width: clamp(165px, 18vw, 215px);
  margin-bottom: clamp(36px, 5vw, 55px);
}

.information {
  position: absolute;
  top: 95px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  width: fit-content;
  max-width: calc(100% - 40px);

  background: white;
  color: var(--blue);

  font-size: clamp(28px, 4vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;

  min-height: 34px;
  padding: 10px 32px;

  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 6, 61, 0.25);
  z-index: 10;
}

.information .material-symbols-outlined {
  color: var(--blue);
  font-size: clamp(34px, 4vw, 54px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
}


.barre {
  width: 45px;
  height: 3px;
  background: var(--yellow);
  margin: 22px 0;
}

.hero p {
  max-width: 580px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  margin: 0 0 25px;
}

.hero strong {
  font-weight: 700;
}


/* CONTACT */

.contact-section {
  position: relative;
  padding: 90px 7% 45px;
  background:
    radial-gradient(circle at top, rgba(135, 194, 233, 0.35), transparent 35%),
    #f4faff;
  text-align: center;
}

.contact-title-wrapper {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: max-content;
  max-width: calc(100% - 30px);
  text-align: center;
}

.contact-title-wrapper h2 {
  margin: 0 0 16px;
  color: white;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.arrow-icon {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: white;
  color: var(--yellow);
  border-radius: 50%;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(8, 61, 102, 0.18);
}

.hero-contact-anchor {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  z-index: 10;
}



.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  max-width: 1050px;
  margin: auto;
}

.card {
  background: white;
  min-height: 285px;
  border-radius: 16px;
  padding: 32px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;

  box-shadow: 0 15px 40px rgba(8, 61, 102, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(8, 61, 102, 0.18);
}

.icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(13, 97, 204, 0.08);
  color: #0d61cc;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 42px;
  margin-bottom: 18px;
}

.icon.turquoise {
  color: var(--aqua);
  background: rgba(67, 197, 200, 0.14);
}

.card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
}

.small-barre {
  width: 42px;
  height: 3px;
  background: var(--yellow);
  margin: 16px 0;
}

.small-barre2 {
  width: 42px;
  height: 3px;
  background: var(--yellow);
  margin: 16px auto;
}

.card .email {
  color: #078ead;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 20px;
  background: var(--blue);
  color: white !important;
  padding: 13px 22px;
  border-radius: 999px;

  font-size: 16px !important;
  font-weight: 700 !important;

  box-shadow: 0 10px 20px rgba(8, 61, 102, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(8, 61, 102, 0.28);
}

.button .material-symbols-outlined {
  font-size: 18px;
}

.turquoise-btn {
  background: var(--turquoise);
}


/* YOUTUBE */

.youtube-section {
  background: #f4faff;
  padding: 0 5% 45px;
}

.youtube-card {
  max-width: 1160px;
  margin: auto;
  padding: 28px 30px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 15px 40px rgba(8, 61, 102, 0.12);

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.youtube-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--blue);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  margin-bottom: 18px;
}

.youtube-icon i {
  color: white;
}

.youtube-text h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  color: var(--blue);
}

.youtube-text p {
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--blue);
}

.youtube-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: var(--blue);
  color: white;
  padding: 16px 24px;
  border-radius: 10px;

  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(8, 61, 102, 0.22);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(8, 61, 102, 0.28);
}

.youtube-button i {
  font-size: 22px;
}

.external {
  font-size: 22px;
}


/* PREVIEW YOUTUBE CLIQUABLE */

.youtube-preview {
  display: block;
  min-height: 320px;
  border: 2px solid rgba(8, 61, 102, 0.18);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  color: inherit;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(8, 61, 102, 0.18);
}

.browser-top {
  height: 32px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-bottom: 1px solid #ddd;
}

.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9b9b;
}

.browser-top span:nth-child(2) {
  background: #ffc200;
}

.browser-top span:nth-child(3) {
  background: #16c25c;
}

.youtube-header {
  padding: 20px;
}

.youtube-logo-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.youtube-logo-line i {
  color: #ff0000;
  font-size: 34px;
}

.youtube-header strong {
  font-size: 34px;
  color: black;
}

.youtube-header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}

.youtube-tabs {
  display: flex;
  gap: 25px;
  padding: 0 20px 12px;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  color: #333;
  overflow-x: auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px;
}

.video-item {
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  background: #d9eaf5;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* FOOTER */

.footer {
  background:
    radial-gradient(circle at center, rgba(67, 197, 200, 0.25), transparent 28%),
    linear-gradient(120deg, var(--blue), var(--dark-blue));

  color: white;
  padding: 35px 55px;

  display: grid;
  grid-template-columns: 230px 1fr 380px;
  align-items: center;
  gap: 40px;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.footer-logo {
  width: 200px;
}

.copyright {
  margin: 14px 0 0;
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.footer-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.footer-values span {
  display: block;
  color: var(--aqua);
  font-size: 42px;
  margin-bottom: 8px;
}

.footer-values p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.footer-text {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  padding-left: 35px;
}

.footer-text p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.35;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: white;
  color: var(--blue);
  border-radius: 50%;

  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--turquoise);
  color: white;
}

.footer-barre {
  margin-left: 0;
}


/* RESPONSIVE TABLETTE */

@media (max-width: 1100px) {
  .hero {
    height: auto;
    min-height: 650px;
  }

  .hero-content {
    width: min(640px, calc(100% - 40px));
    padding: 35px 25px 80px;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .youtube-card {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-wrapper {
    justify-content: center;
  }

  .footer-values {
    max-width: 700px;
    width: 100%;
    margin: auto;
  }

  .footer-text {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-left: 0;
    padding-top: 25px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-barre {
    margin-left: auto;
    margin-right: auto;
  }
}


/* RESPONSIVE MOBILE */

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    width: 100%;
    padding: 28px 22px 70px;
  }

  .logo {
    width: 170px;
    margin-bottom: 36px;
  }

  .information {
    margin-left: 0;
    margin-bottom: 28px;
    min-height: 44px;
    padding: 0 18px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero p {
    max-width: 100%;
    font-size: 18px;
  }

  .contact-section {
    padding: 58px 20px 40px;
  }

  .cards {
    gap: 24px;
  }

  .card {
    min-height: auto;
  }

  .youtube-section {
    padding: 0 20px 40px;
  }

  .youtube-card {
    padding: 24px 20px;
    gap: 30px;
  }

  .youtube-button {
    width: 100%;
    text-align: center;
    flex-wrap: wrap;
  }

  .youtube-header strong {
    font-size: 28px;
  }

  .youtube-tabs {
    gap: 18px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
  }

  .video-item {
    height: 95px;
  }

  .footer {
    background:
      radial-gradient(circle at center, rgba(67, 197, 200, 0.20), transparent 28%),
      linear-gradient(120deg, var(--blue), var(--dark-blue));

    color: white;
    padding: 45px 7%;

    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-infos {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 55px;
    align-items: flex-start;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column h3 {
    margin: 0 0 14px;
    color: white;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }


  .footer-column a {
    text-decoration: none;
  }

  .footer-column a:hover {
    color: #43c5c8;
  }

  .footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 180px;
    margin-bottom: 14px;

  }

  .copyright {
    margin: 0;
    max-width: 180px;
    text-align: left;
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
  }
}


/* TRES PETIT MOBILE */

@media (max-width: 420px) {
  .hero h1 {
    font-size: 36px;
  }

  .information {
    font-size: 12px;
  }

  .contact-section h2 {
    font-size: 26px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-item {
    height: 130px;
  }

  .footer-values {
    grid-template-columns: 4fr;
    text-align: start;
  }

}
