/* ================================================
   FICHIER DE STYLE — See U Optique
   Thème "bleu marin" : tons frais, navy, azur et
   touche dorée pour les étoiles. Clair et élégant.
   ================================================ */


/* ===== 1. LE "DESIGN SYSTEM" : la palette de couleurs ===== */

:root {
  --parchemin:   #eaf2fa;   /* bleu très pâle : fond général */
  --blanc-chaud: #ffffff;   /* blanc pur : les cartes */
  --terracotta:  #1d6fb8;   /* bleu profond : CTA principal */
  --terre-fonce: #144d83;   /* bleu foncé : survols */
  --vert:        #2196c2;   /* cyan/azur : accent */
  --vert-fonce:  #167a9b;   /* azur foncé */
  --laiton:      #d4a72c;   /* or doux : étoiles */
  --brun:        #0c2a4a;   /* navy profond : le texte */
  --texte-doux:  #5a7a96;   /* gris-bleu : textes secondaires */
  --bordure:     #cfe1f2;   /* bleu sable clair : bordures */
}


/* ===== 2. RÉGLAGES GÉNÉRAUX ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.7;
  color: var(--brun);
  background-color: var(--parchemin);

  /* Typographie soignée : lissage des polices */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}


/* ===== 3. EN-TÊTE ===== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6vw;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--parchemin);
  border-bottom: 1px solid var(--bordure);
}

.logo {
  font-family: "Marcellus", serif;
  font-size: 26px;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: var(--brun);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--terracotta);
}

.nav-cta {
  background-color: var(--terracotta);
  color: var(--blanc-chaud) !important;
  padding: 10px 20px;
  border-radius: 8px;
}

.nav-cta:hover {
  background-color: var(--terre-fonce);
}


/* ===== 4. SECTION ACCUEIL ===== */

.hero {
  text-align: center;
  padding: 80px 6vw 90px;
}

/* La carte d'accueil : un panneau clair et accueillant */
.hero-carte {
  max-width: 720px;
  margin: 0 auto;
  padding: 54px 44px;
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(12, 42, 74, 0.14);
}

.badge {
  display: inline-block;
  background-color: rgba(33, 150, 194, 0.12);
  color: var(--vert-fonce);
  border: 1px solid rgba(33, 150, 194, 0.25);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: apparition 0.6s ease both;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  line-height: 1.12;
  color: var(--brun);
  animation: apparition 0.6s ease 0.1s both;
}

/* Le mot "en grand" en cyan */
.surligne {
  color: var(--vert);
}

.hero p {
  max-width: 520px;
  margin: 20px auto 30px;
  color: var(--texte-doux);
  font-size: 17px;
  animation: apparition 0.6s ease 0.2s both;
}

.hero-boutons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: apparition 0.6s ease 0.3s both;
}

/* Bouton principal (plein, bleu) */
.bouton {
  display: inline-block;
  background-color: var(--terracotta);
  color: var(--blanc-chaud);
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.bouton:hover {
  background-color: var(--terre-fonce);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 77, 131, 0.35);
}

/* Bouton secondaire (contour cyan) */
.bouton-ghost {
  display: inline-block;
  background-color: var(--blanc-chaud);
  color: var(--vert-fonce);
  text-decoration: none;
  padding: 15px 32px;
  border: 1.5px solid var(--vert);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.bouton-ghost:hover {
  background-color: var(--vert);
  color: var(--blanc-chaud);
  transform: translateY(-2px);
}

/* La note Google */
.note-google {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 16px;
  background-color: var(--parchemin);
  border: 1px solid var(--bordure);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  animation: apparition 0.6s ease 0.4s both;
}

.etoiles {
  color: var(--laiton);
  letter-spacing: 2px;
}

.note-texte {
  color: var(--texte-doux);
}

/* La ligne d'arguments */
.atouts {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--vert-fonce);
  font-size: 14px;
  font-weight: 600;
  animation: apparition 0.6s ease 0.5s both;
}


/* ===== 5. SECTIONS (mise en page commune) ===== */

section {
  padding: 80px 6vw;
}

.titre-section {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  color: var(--brun);
  text-align: center;
}

/* Petit losange cyan au-dessus de chaque titre */
.titre-section::before {
  content: "◆";
  display: block;
  color: var(--vert);
  font-size: 13px;
  margin-bottom: 10px;
}

.sous-titre {
  text-align: center;
  color: var(--texte-doux);
  font-size: 17px;
  margin-top: 4px;
  margin-bottom: 44px;
}


/* ===== 6. SECTION SERVICES (cartes en arche) ===== */

.cartes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1150px;
  margin: 0 auto;
}

.carte {
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-radius: 110px 110px 14px 14px;
  padding: 36px 24px 30px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(12, 42, 74, 0.1);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.carte:hover {
  transform: translateY(-6px);
  border-color: var(--vert);
  box-shadow: 0 18px 36px rgba(12, 42, 74, 0.16);
}

/* L'icône dans un petit cadre arqué, teinté de cyan */
.icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 26px;
  background-color: rgba(33, 150, 194, 0.1);
  border: 1px solid rgba(33, 150, 194, 0.22);
  border-radius: 50% 50% 12px 12px;
  margin-bottom: 16px;
}

.carte h3 {
  font-size: 20px;
  color: var(--brun);
  margin-bottom: 8px;
}

.carte p {
  color: var(--texte-doux);
  font-size: 14.5px;
}

/* Met en valeur un argument clé dans une carte (gratuit, garanti...) */
.point-fort {
  color: var(--vert);
  font-weight: 700;
}


/* ===== 7. SECTION À PROPOS ===== */

.texte-apropos {
  text-align: center;
  font-family: "Marcellus", serif;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--brun);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.65;
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-radius: 22px;
  padding: 46px 44px;
  box-shadow: 0 16px 38px rgba(12, 42, 74, 0.1);
}

.texte-apropos strong {
  color: var(--vert);
  font-weight: 400;
}


/* ===== 8. PIED DE PAGE ===== */

footer {
  border-top: 1px solid var(--bordure);
  text-align: center;
  padding: 80px 6vw 44px;
}

.infos-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 36px;
}

.info {
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-radius: 14px;
  padding: 26px 32px;
  min-width: 230px;
  box-shadow: 0 10px 26px rgba(12, 42, 74, 0.1);
}

.info-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  background-color: rgba(33, 150, 194, 0.1);
  border: 1px solid rgba(33, 150, 194, 0.22);
  border-radius: 50% 50% 10px 10px;
  margin-bottom: 12px;
}

.info h3 {
  font-size: 18px;
  color: var(--brun);
  margin-bottom: 4px;
}

.info p {
  color: var(--texte-doux);
  font-size: 15px;
}

.info a {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
}

.info a:hover {
  text-decoration: underline;
}

.info-lien {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
}


/* ===== LE PANNEAU DES HORAIRES (compact) ===== */

.horaires {
  background-color: var(--blanc-chaud);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 16px 22px;
  max-width: 320px;
  margin: 0 auto 26px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(12, 42, 74, 0.09);
}

.horaires h3 {
  font-size: 14px;
  color: var(--brun);
  text-align: center;
  margin-bottom: 9px;
}

.horaires ul {
  list-style: none;
}

.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  border-bottom: 1px solid var(--bordure);
  font-size: 11.5px;
}

.horaires li:last-child {
  border-bottom: none;
}

.horaires li span:first-child {
  font-weight: 600;
  color: var(--brun);
}

.horaires li span:last-child {
  color: var(--texte-doux);
}

/* Le jour fermé : "Fermé" en bleu profond */
.horaires li.ferme span:last-child {
  color: var(--terracotta);
  font-weight: 600;
}

.horaires-note {
  text-align: center;
  font-size: 10px;
  color: var(--texte-doux);
  margin-top: 8px;
}

.copyright {
  color: var(--brun);
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--bordure);
  padding-top: 26px;
}


/* ===== 9. L'ANIMATION D'APPARITION ===== */

@keyframes apparition {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ===== 10. RESPONSIVE ===== */

/* Tablette : les cartes passent de 4 à 2 colonnes */
@media (max-width: 900px) {
  .cartes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : tout passe sur 1 colonne */
@media (max-width: 600px) {

  header {
    flex-direction: column;
    gap: 12px;
  }

  nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-carte {
    padding: 40px 26px;
  }

  .cartes {
    grid-template-columns: 1fr;
  }

  .atouts {
    flex-direction: column;
    gap: 10px;
  }

  .texte-apropos {
    padding: 36px 26px;
  }
}
