/* ananasova.com, site corporate de l'entite : feuille unique, servie telle quelle. Aucune
   animation d'entree : la page s'affiche d'un coup. Polices servies par le site. */

@font-face { font-family: "Source Serif"; src: url("/assets/fonts/source-serif.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --marine: #0d2238;
  --marine-2: #163252;
  --marine-3: #22466f;
  --blanc: #ffffff;
  --gris: #f3f4f6;
  --gris-2: #e9ecf0;
  --filet: #dde2e8;
  --texte: #1a2330;
  --sourdine: #566273;
  --laiton: #a8874e;
  --laiton-clair: #d6bf91;
  --f-titre: "Source Serif", Georgia, "Times New Roman", serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gouttiere: clamp(16px, 4vw, 48px);
  --largeur: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blanc); color: var(--texte); font-family: var(--f-texte); font-size: 1rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marine-3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--marine); }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p, ul, ol, dl { margin: 0; }
.cadre { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--marine); color: #fff; padding: 10px 16px; }
.evitement:focus { left: 8px; }

.label, .kicker { font-family: var(--f-texte); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kicker { color: var(--laiton); margin-bottom: 16px; }
.tete { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.tete h2, .deux h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); color: var(--marine); }
.intro { margin-top: 16px; font-size: 1.06rem; color: var(--sourdine); }
section { padding: clamp(64px, 8vw, 104px) 0; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .deux { grid-template-columns: 1fr; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: .85em 1.35em; font-family: var(--f-texte); font-size: .94rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.bouton.clair { background: #fff; color: var(--marine); }
.bouton.clair:hover { background: var(--laiton-clair); color: var(--marine); }
.bouton.contour { border-color: rgba(255, 255, 255, .45); color: #fff; }
.bouton.contour:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.bouton.sombre { background: var(--marine); color: #fff; margin-top: 28px; }
.bouton.sombre:hover { background: var(--marine-2); color: #fff; }
.bouton.petit { margin-top: 14px; padding: .55em 1em; font-size: .86rem; background: #fff; border-color: var(--filet); color: var(--texte); }
.bouton.petit:hover { border-color: var(--marine); }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--filet); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.marque { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--marine); }
.marque img { width: 40px; height: 40px; }
.marque span { font-family: var(--f-titre); font-weight: 600; font-size: 1.16rem; letter-spacing: .005em; }
.marque:hover { color: var(--marine); }
.menu { display: flex; align-items: center; gap: 32px; }
.menu[popover] { position: static; inset: auto; width: auto; height: auto; margin: 0; border: 0; padding: 0; background: transparent; color: inherit; overflow: visible; }
.menu-liens { display: flex; gap: 26px; list-style: none; padding: 0; }
.menu-liens a { color: var(--texte); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu-liens a:hover { border-bottom-color: var(--laiton); color: var(--marine); }
.langues { display: flex; list-style: none; padding: 0 0 0 24px; border-left: 1px solid var(--filet); gap: 2px; }
.langues a { display: inline-block; padding: 4px 7px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--sourdine); text-decoration: none; }
.langues a:hover { color: var(--marine); }
.langues a[aria-current="true"] { color: var(--marine); box-shadow: inset 0 -1px 0 var(--laiton); }
.menu-bouton, .menu-fermer { display: none; }
@media (max-width: 1060px) {
  .menu-bouton { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--filet); background: #fff; color: var(--marine); padding: 9px 14px; font: 600 .88rem var(--f-texte); cursor: pointer; border-radius: 2px; }
  .menu-bouton .barres { display: grid; gap: 5px; }
  .menu-bouton .barres span { display: block; width: 18px; height: 1.5px; background: currentColor; }
  @supports selector(:popover-open) {
    .menu[popover] { display: none; }
    .menu[popover]:popover-open {
      display: flex; position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0;
      background: var(--marine); color: #fff; padding: 96px var(--gouttiere) 40px; flex-direction: column; align-items: flex-start; gap: 36px; overflow-y: auto;
    }
    .menu[popover]:popover-open .menu-liens { flex-direction: column; gap: 6px; }
    .menu[popover]:popover-open .menu-liens a { color: #fff; font-family: var(--f-titre); font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 500; border: 0; }
    .menu[popover]:popover-open .langues { border: 0; padding: 0; }
    .menu[popover]:popover-open .langues a { color: #c9d2dc; font-size: .95rem; }
    .menu[popover]:popover-open .langues a[aria-current="true"] { color: #fff; }
    .menu[popover]:popover-open .menu-fermer { display: inline-flex; position: absolute; top: 18px; right: var(--gouttiere); border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; padding: 9px 14px; font: 600 .88rem var(--f-texte); cursor: pointer; border-radius: 2px; }
    .menu[popover]::backdrop { background: var(--marine); }
  }
  .menu:not([popover]) { flex-wrap: wrap; gap: 14px; }
}
.entete .marque span { white-space: nowrap; }
@media (max-width: 420px) { .marque { gap: 10px; } .entete .marque span { font-size: .9rem; } .marque img { width: 32px; height: 32px; } .menu-bouton { padding: 8px 11px; } }

/* Heros */
.heros { background: var(--marine); color: #fff; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.heros::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px); pointer-events: none; }
.heros .cadre { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.heros .label { color: var(--laiton-clair); }
.heros h1 { margin-top: 20px; font-size: clamp(2.1rem, 4.3vw, 3.45rem); font-weight: 600; line-height: 1.1; }
.heros-sous { margin-top: 24px; font-size: clamp(1.04rem, 1.4vw, 1.16rem); color: #c9d2dc; max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fiche-heros { border: 1px solid rgba(255, 255, 255, .22); padding: clamp(24px, 3vw, 34px); background: rgba(255, 255, 255, .03); }
.fiche-heros .label { color: var(--laiton-clair); margin-bottom: 14px; }
.fiche-heros dl div { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.fiche-heros dt { font-size: .78rem; color: #9fb0c2; }
.fiche-heros dd { margin: 3px 0 0; font-weight: 500; color: #fff; }
.registre { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .88rem; font-weight: 600; }
.fiche-heros .registre { color: #fff; }
.fiche-heros .registre:hover { color: var(--laiton-clair); }
@media (max-width: 900px) { .heros .cadre { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .actions .bouton { width: 100%; justify-content: center; } }

/* Societe */
.societe .texte > p { font-size: 1.06rem; color: var(--texte); }
.societe .texte > p + p { margin-top: 18px; }
.direction { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--filet); }
.direction .label { color: var(--laiton); }
.direction .nom + .role { margin-top: 2px; }
.site-perso { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: .9rem; font-weight: 600; }
.direction .nom { margin-top: 8px; font-family: var(--f-titre); font-size: 1.4rem; font-weight: 600; color: var(--marine); }
.direction .role { color: var(--sourdine); font-size: .95rem; }

/* Activites */
.activites { background: var(--gris); }
.grille-activites { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.grille-activites li { border-top: 2px solid var(--marine); padding-top: 22px; }
.numero { display: block; font-family: var(--f-titre); font-size: .95rem; color: var(--laiton); font-weight: 600; letter-spacing: .04em; }
.grille-activites h3 { margin-top: 10px; font-size: 1.32rem; color: var(--marine); }
.grille-activites p { margin-top: 10px; font-size: .96rem; color: var(--sourdine); }
@media (max-width: 1000px) { .grille-activites { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .grille-activites { grid-template-columns: 1fr; } }

/* Production et contrats */
.texte-production { margin-top: 20px; font-size: 1.04rem; color: var(--texte); }
.contrats { background: var(--gris); border-left: 2px solid var(--laiton); padding: clamp(26px, 3.4vw, 40px); }
.contrats h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: var(--marine); }
.contrats ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 0; }
.contrats li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--filet); font-size: .98rem; }
.contrats li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l2.9 2.9 6.1-6.6' fill='none' stroke='%230d2238' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Informations legales */
.legal { border-top: 1px solid var(--filet); }
.grille-legal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.grille-legal h3 { font-size: 1.2rem; color: var(--marine); margin-bottom: 18px; }
.tableau { border-top: 1px solid var(--marine); }
.tableau div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--filet); }
.tableau dt { font-size: .9rem; color: var(--sourdine); }
.tableau dd { margin: 0; font-size: .95rem; font-weight: 500; overflow-wrap: anywhere; }
.mention { padding: 14px 0; border-top: 1px solid var(--filet); }
.mention:first-of-type { border-top-color: var(--marine); }
.mention h4 { font-family: var(--f-texte); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--marine); }
.mention p { margin-top: 6px; font-size: .92rem; color: var(--sourdine); overflow-wrap: anywhere; }
@media (max-width: 900px) { .grille-legal { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tableau div { grid-template-columns: 1fr; gap: 2px; } }

/* Contact */
.contact { background: var(--gris); }
.grille-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.colonne-contact { display: grid; gap: 24px; }
.panneau { background: #fff; border: 1px solid var(--filet); padding: clamp(22px, 3vw, 32px); }
.panneau h3 { font-size: 1.15rem; color: var(--marine); }
.serenity-form { width: 100%; min-height: 460px; border: 0; margin-top: 12px; display: block; color-scheme: light; }
.repli { margin-top: 14px; }
.email { display: block; margin-top: 12px; font-family: var(--f-titre); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 600; color: var(--marine); text-decoration: none; overflow-wrap: anywhere; }
.email:hover { text-decoration: underline; }
address { font-style: normal; margin-top: 12px; line-height: 1.7; }
@media (max-width: 900px) { .grille-contact { grid-template-columns: 1fr; } }

/* Pied */
.pied { background: var(--marine); color: #c9d2dc; padding: clamp(52px, 6vw, 72px) 0 30px; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: var(--laiton-clair); }
.pied .marque { color: #fff; }
.pied .marque img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.pied-marque p { margin-top: 18px; max-width: 360px; font-size: .92rem; }
.pied h2 { font-family: var(--f-texte); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.pied address { margin-top: 10px; font-size: .9rem; }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; color: #9fb0c2; }
.pied-markleex { display: inline-flex; align-items: center; gap: 7px; }
.pied-markleex svg { display: inline-block; }
@media (max-width: 900px) { .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied-haut { grid-template-columns: 1fr; } }
.hebergeur { background: #000; color: #9a9a9a; text-align: center; font-size: .76rem; padding: 7px var(--gouttiere); line-height: 1.4; }
.hebergeur a { color: #d6d6d6; text-decoration: underline; text-underline-offset: .15em; }
.hebergeur a:hover { color: #fff; }

/* Racine et 404 */
.simple { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gouttiere); }
.simple img { margin: 0 auto; }
.simple h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 24px 0 12px; color: var(--marine); }
.simple p { color: var(--sourdine); }
.simple ul { list-style: none; padding: 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.simple .bouton.plein { background: var(--marine); color: #fff; }
.simple .bouton.creux { border-color: var(--marine); color: var(--marine); }
