/*
Theme Name: Kelly Assistante Digitale
Theme URI: https://kelly-assistante-digitale.riallinkelly.chatgpt.site
Author: Kelly Adouritz
Description: Thème vitrine élégant et naturel pour une activité d’assistante digitale.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kelly-assistante-digitale
*/

:root {
  --ivory: #f7f3ea;
  --paper: #fffdf9;
  --charcoal: #26302b;
  --sage: #52665a;
  --sage-soft: #9ead9a;
  --sage-pale: #dde2d7;
  --sand: #ded2c0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Manrope", Arial, sans-serif;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  min-height: 104px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 20;
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand strong {
  font: 600 42px/.82 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.04em;
}
.brand span { margin-top: 9px; font-size: 15px; letter-spacing: .02em; }
.custom-logo { max-height: 70px; width: auto; }
.desktop-nav { display: flex; gap: 38px; align-items: center; }
.desktop-nav a { font-size: 15px; font-weight: 500; position: relative; }
.desktop-nav a::after {
  content: ""; position: absolute; height: 2px; background: var(--sage);
  left: 0; right: 100%; bottom: -8px; transition: right .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta { border: 1px solid var(--sage); padding: 13px 18px; font-size: 14px; transition: .25s ease; }
.header-cta:hover { color: white; background: var(--sage); }
.menu-toggle {
  display: none; border: 1px solid var(--sage); background: transparent; color: var(--charcoal);
  width: 46px; height: 46px; font-size: 22px; cursor: pointer;
}

.hero {
  min-height: 690px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 68px 0 55px 7vw;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 4; padding-right: 32px; animation: rise .65s ease-out both; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow i { display: inline-block; width: 5px; height: 5px; margin: 0 13px 2px; border-radius: 50%; background: var(--sage); }
h1, h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
h1 { font-size: clamp(66px, 6.2vw, 94px); line-height: .92; }
h1 span, h1 em { display: block; }
h1 span { color: var(--sage-soft); }
h1 em, h2 em { font-weight: 500; color: var(--charcoal); }
.short-rule { width: 64px; height: 2px; background: var(--sage-soft); margin: 38px 0 28px; }
.hero-text { max-width: 610px; margin: 0; font-size: 18px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center;
  gap: 24px; padding: 0 25px; border: 1px solid var(--sage); font-size: 14px;
  font-weight: 600; transition: transform .25s ease, background .25s ease;
}
.button span { font-size: 21px; transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translateX(4px); }
.button-primary { background: var(--sage); color: white; }
.button-primary:hover { background: #435448; }
.button-secondary { background: rgba(255,255,255,.45); }

.hero-visual { height: 620px; position: relative; animation: reveal .8s .1s ease-out both; }
.workspace-board {
  position: absolute; inset: 14px -55px 10px 20px; overflow: hidden;
  background: var(--sage); border-radius: 28px 0 0 28px;
  box-shadow: 0 30px 70px rgba(38,48,43,.16);
}
.board-top {
  height: 82px; padding: 20px 60px 18px 28px; display: flex; align-items: center;
  justify-content: space-between; color: white;
}
.board-top span { font: 600 24px "Cormorant Garamond", serif; }
.board-top small { opacity: .68; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.workspace-board > img { position: absolute; inset: 82px 0 auto 0; width: 100%; height: 250px; object-fit: cover; opacity: .9; filter: saturate(.75); }
.mini-card, .progress-card {
  position: absolute; z-index: 3; background: var(--paper); color: var(--charcoal);
  border: 1px solid rgba(82,102,90,.12); box-shadow: 0 14px 32px rgba(38,48,43,.12);
}
.mini-card {
  width: 175px; min-height: 112px; padding: 18px; display: grid;
  grid-template-columns: 35px 1fr; grid-template-rows: auto auto; align-content: center;
}
.mini-card > span {
  width: 27px; height: 27px; grid-row: 1 / 3; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-pale); color: var(--sage);
  font: 600 12px "Cormorant Garamond", serif;
}
.mini-card strong { font-size: 13px; }
.mini-card small { margin-top: 6px; color: #778079; font-size: 10px; }
.card-admin { left: 26px; top: 295px; }
.card-content { left: 220px; top: 260px; }
.card-orga { left: 414px; top: 312px; }
.progress-card { left: 130px; right: 80px; bottom: 28px; padding: 20px 22px; }
.progress-card > div { display: flex; justify-content: space-between; font-size: 13px; }
.progress-card > div span { color: var(--sage); font-weight: 600; }
.progress-card i { display: block; height: 7px; margin: 13px 0 10px; border-radius: 9px; background: var(--sage-pale); }
.progress-card b { display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--sage-soft); }
.progress-card small { color: #778079; font-size: 10px; }
.dot-pattern {
  position: absolute; width: 78px; height: 78px; left: -4px; bottom: -12px; opacity: .4;
  background-image: radial-gradient(var(--sage) 1.4px, transparent 1.4px); background-size: 12px 12px;
}

.quick-services {
  max-width: 1360px; margin: -24px auto 0; padding: 26px 22px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,253,249,.96); border-radius: 10px; position: relative; z-index: 5;
  box-shadow: 0 18px 55px rgba(82,102,90,.08);
}
.quick-services a { display: flex; gap: 20px; padding: 10px 28px; align-items: center; }
.quick-services a + a { border-left: 1px solid var(--sand); }
.quick-icon {
  width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-pale); color: var(--sage);
  font: 600 18px "Cormorant Garamond", serif;
}
.quick-services strong { display: block; margin-bottom: 7px; font-size: 17px; }
.quick-services small { color: #5c645f; line-height: 1.55; }

.section { padding: 120px max(6vw, 28px); }
.section-heading { max-width: 650px; margin-bottom: 58px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(48px, 5vw, 72px); line-height: .98; }
.section-heading > p:last-child { max-width: 590px; margin-top: 26px; line-height: 1.75; color: #58615c; }
.services { max-width: 1500px; margin: 0 auto; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 38px; background: var(--paper); border: 1px solid transparent;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--sage-soft); box-shadow: 0 16px 42px rgba(82,102,90,.08); }
.service-number { display: block; color: var(--sage-soft); font: 500 42px "Cormorant Garamond", serif; }
.service-card h3 { margin: 28px 0 16px; font: 600 29px "Cormorant Garamond", serif; }
.service-card p { min-height: 100px; color: #5a635e; font-size: 15px; line-height: 1.7; }
.service-card ul { list-style: none; padding: 24px 0 0; margin: 22px 0 0; border-top: 1px solid var(--sand); }
.service-card li { padding: 8px 0; font-size: 14px; }
.service-card li::before { content: "✓"; color: var(--sage); margin-right: 11px; }

.about { display: grid; grid-template-columns: 42% 58%; padding-left: 0; background: var(--sage-pale); }
.about-note { min-height: 600px; display: grid; place-items: center; padding: 60px; background: var(--sage); color: white; position: relative; overflow: hidden; }
.about-note > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.85); }
.about-note::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(to top, rgba(31,40,35,.76), rgba(31,40,35,.03) 58%);
}
.about-note span {
  text-align: center; font: italic 500 40px/1.12 "Cormorant Garamond", serif;
  position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 45px;
}
.about-copy { max-width: 720px; padding: 22px 8vw; align-self: center; }
.about-copy .lead { font: 500 25px/1.45 "Cormorant Garamond", serif; }
.about-copy p:not(.eyebrow):not(.lead) { line-height: 1.75; color: #53605a; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.values span { border: 1px solid var(--sage-soft); padding: 9px 18px; border-radius: 99px; font-size: 13px; }

.process { background: var(--paper); }
.centered { margin-left: auto; margin-right: auto; text-align: center; }
.step-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.step-grid article { padding: 20px 48px; text-align: center; position: relative; }
.step-grid article + article::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--sand); }
.step-grid span { color: var(--sage-soft); font: 500 58px "Cormorant Garamond", serif; }
.step-grid h3 { margin: 16px 0; font: 600 27px "Cormorant Garamond", serif; }
.step-grid p { color: #606963; font-size: 15px; line-height: 1.7; }

.contact { background: var(--sage); color: white; display: grid; grid-template-columns: 58% 42%; gap: 70px; align-items: center; }
.contact .eyebrow { color: var(--sage-pale); }
.contact h2 em { color: white; }
.contact-copy p { font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
.button-light { background: var(--paper); color: var(--sage); border-color: var(--paper); }
.contact-copy small { display: block; margin-top: 16px; opacity: .72; }
.kelly-contact-form {
  margin: 26px 0 22px;
  padding: 28px;
  background: var(--paper);
  color: var(--charcoal);
  border-radius: 10px;
}
.kelly-contact-form .evf-field,
.kelly-contact-form .everest-forms .evf-field-container .evf-frontend-row {
  margin-bottom: 16px;
}
.kelly-contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
}
.kelly-contact-form input:not([type="checkbox"]):not([type="radio"]),
.kelly-contact-form select,
.kelly-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  background: var(--ivory);
  color: var(--charcoal);
  font: 400 14px "Manrope", Arial, sans-serif;
}
.kelly-contact-form textarea { min-height: 120px; resize: vertical; }
.kelly-contact-form input:focus,
.kelly-contact-form select:focus,
.kelly-contact-form textarea:focus {
  outline: 2px solid var(--sage-soft);
  outline-offset: 1px;
}
.kelly-contact-form .evf-submit-container button,
.kelly-contact-form button[type="submit"],
.kelly-contact-form input[type="submit"] {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--sage);
  border-radius: 0;
  background: var(--sage);
  color: white;
  font: 600 14px "Manrope", Arial, sans-serif;
  cursor: pointer;
}
.kelly-contact-form .evf-submit-container button:hover,
.kelly-contact-form button[type="submit"]:hover,
.kelly-contact-form input[type="submit"]:hover { background: #435448; }
.contact-alternative { margin-top: 8px; font-size: 13px; opacity: .82; }

.site-footer {
  padding: 65px max(6vw, 28px) 35px; display: grid; grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center; gap: 35px; background: #1f2823; color: white;
}
.footer-brand { margin: 0; }
.site-footer > p { text-align: center; opacity: .65; font-size: 13px; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 22px; font-size: 13px; }
.site-footer > small { grid-column: 1 / -1; text-align: center; margin-top: 35px; opacity: .4; }

.default-content { max-width: 960px; min-height: 60vh; margin: 0 auto; padding: 80px 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes reveal { from { opacity: 0; transform: scale(.985); } }

@media (max-width: 1050px) {
  .site-header { padding: 18px 28px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding: 60px 6vw 0; }
  .hero-copy { padding: 0; }
  .hero-visual { height: 540px; margin-top: 40px; }
  .workspace-board { inset: 0 -6vw 0 0; }
  .quick-services { margin: 0 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 88px; }
  .brand strong { font-size: 34px; }
  .brand span { font-size: 12px; }
  .menu-toggle { display: block; }
  .desktop-nav {
    display: none; position: absolute; top: 78px; left: 20px; right: 20px;
    padding: 22px; flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); box-shadow: 0 18px 35px rgba(38,48,43,.12);
  }
  .desktop-nav.nav-open { display: flex; }
  .hero { padding-top: 45px; }
  h1 { font-size: 52px; }
  .eyebrow i { margin-left: 6px; margin-right: 6px; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { height: 510px; }
  .workspace-board { inset: 0 -6vw 0 0; border-radius: 18px 0 0 18px; }
  .board-top { padding: 18px; }
  .board-top span { font-size: 19px; }
  .board-top small { display: none; }
  .workspace-board > img { height: 205px; }
  .mini-card { width: calc(50% - 22px); min-height: 98px; }
  .card-admin { left: 14px; top: 250px; }
  .card-content { left: calc(50% + 4px); top: 230px; }
  .card-orga { left: 14px; top: 358px; }
  .progress-card { left: calc(50% + 4px); right: 14px; bottom: 25px; padding: 14px; }
  .quick-services { grid-template-columns: 1fr; border-radius: 18px; }
  .quick-services a + a { border-left: 0; border-top: 1px solid var(--sand); }
  .section { padding-top: 85px; padding-bottom: 85px; }
  .about { grid-template-columns: 1fr; padding-right: 0; }
  .about-note { min-height: 520px; }
  .about-copy { padding: 80px 28px; }
  .step-grid { grid-template-columns: 1fr; gap: 25px; }
  .step-grid article + article::before { top: 0; bottom: auto; left: 15%; right: 15%; width: auto; height: 1px; }
  .contact { grid-template-columns: 1fr; gap: 35px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .site-footer > div { justify-content: center; }
  .site-footer > small { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
